Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Aug 29, 2024
1 parent 0bd18a3 commit 94ebda9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parser/youtube/History.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ export default class History extends Feed<IBrowseResponse> {
/**
* Removes a video from watch history.
*/
async removeVideo(video_id: string): Promise<Boolean> {
async removeVideo(video_id: string): Promise<boolean> {
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;
}
}
}
Expand Down

0 comments on commit 94ebda9

Please sign in to comment.