From 37c399e61aef86312940c59c903b187ef5b82c2c Mon Sep 17 00:00:00 2001 From: HanYaodong Date: Tue, 30 Jan 2024 15:19:07 +0800 Subject: [PATCH] Revert temp segment filter for testing --- src/content.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/content.ts b/src/content.ts index 94b4ddff..d65838ff 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1072,8 +1072,7 @@ async function sponsorsLookup(keepOldSubmissions = true) { if (response?.ok) { const receivedSegments: SponsorTime[] = JSON.parse(response.responseText) - // TODO: Revert temporary test data - // ?.filter((video) => video.videoID === getVideoID()) + ?.filter((video) => video.videoID === getVideoID()) ?.map((video) => video.segments)?.[0] ?.map((segment) => ({ ...segment,