From 94ebda96864e748cc48b714f797613cf46b43094 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Thu, 29 Aug 2024 19:14:26 +0200 Subject: [PATCH] Fix linting --- src/parser/youtube/History.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser/youtube/History.ts b/src/parser/youtube/History.ts index e41ba308e..e1b40f787 100644 --- a/src/parser/youtube/History.ts +++ b/src/parser/youtube/History.ts @@ -30,15 +30,15 @@ export default class History extends Feed { /** * Removes a video from watch history. */ - async removeVideo(video_id: string): Promise { + async removeVideo(video_id: string): Promise { let feedbackToken; for (const section of this.sections) { for (const content of section.contents) { const video = content as Video; if (video.id === video_id && video.menu) { - feedbackToken = video.menu.top_level_buttons[0].endpoint.payload.feedbackToken; - break; + feedbackToken = video.menu.top_level_buttons[0].endpoint.payload.feedbackToken; + break; } } }