From fa32ab55c692d032f16cc117d95f018d80f4d42d Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 25 Mar 2025 10:09:30 +0530 Subject: [PATCH] LF --- web/packages/gallery/services/video.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/packages/gallery/services/video.ts b/web/packages/gallery/services/video.ts index 565eda33b8..95dce3fd09 100644 --- a/web/packages/gallery/services/video.ts +++ b/web/packages/gallery/services/video.ts @@ -28,11 +28,11 @@ export const hlsPlaylistForFile = async (file: EnteFile) => { const videoURL = await fetchFilePreviewData("vid_preview", file.id); if (!videoURL) return undefined; - // See: [Note: strict mode migration] - // - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore const { playlist: playlistTemplate } = await decryptPlaylistJSON( + // See: [Note: strict mode migration] + // + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore playlistFileData, file, ); @@ -92,7 +92,7 @@ export const hlsPlaylistForFile = async (file: EnteFile) => { const playlist = playlistTemplate.replaceAll("output.ts", videoURL); log.debug(() => ["hlsPlaylistForFile", playlist]); - const playlistBlob = new Blob([playlist]) + const playlistBlob = new Blob([playlist]); const playlistURL = URL.createObjectURL(playlistBlob); return playlistURL;