This commit is contained in:
Markos Gogoulos
2025-09-17 12:16:56 +03:00
committed by Yiannis Christodoulou
parent 32f61cf566
commit e34bd55e7a
6 changed files with 12 additions and 36 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ def video_chapters(request, friendly_token):
return HttpResponseRedirect("/")
try:
data = json.loads(request.body)["chapters"]
data = json.loads(request.body)["segments"]
chapters = []
for _, chapter_data in enumerate(data):
start_time = chapter_data.get('startTime')