From ae43f73f992e9155db3ef4b787d9768144f9e896 Mon Sep 17 00:00:00 2001 From: Benjamin Piouffle Date: Wed, 19 Jun 2024 16:26:55 +0200 Subject: [PATCH] fix(videos): handle missing captions --- apps/cf/lib/videos/videos.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cf/lib/videos/videos.ex b/apps/cf/lib/videos/videos.ex index 8016e075..f9bee4e9 100644 --- a/apps/cf/lib/videos/videos.ex +++ b/apps/cf/lib/videos/videos.ex @@ -185,7 +185,7 @@ defmodule CF.Videos do Repo.insert(%DB.Schema.VideoCaption{ video_id: video.id, raw: "", - parsed: "", + parsed: [], format: "xml" }) end