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; } } }