Skip to content

Commit

Permalink
Revert temp segment filter for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Jan 30, 2024
1 parent 022f13e commit 37c399e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 37c399e

Please sign in to comment.