mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-17 13:08:49 +03:00
Fix any issue
This commit is contained in:
@@ -37,7 +37,7 @@ export class YouTubeAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DiskCache.set(cacheKey, JSON.stringify(data))
|
DiskCache.set(cacheKey, JSON.stringify(data))
|
||||||
.catch((err) => Logger.warn(err))
|
.catch((err: any) => Logger.warn(err))
|
||||||
.then(() => Logger.debug("YouTube API: video information cache set for: " + videoID));
|
.then(() => Logger.debug("YouTube API: video information cache set for: " + videoID));
|
||||||
|
|
||||||
return { err: false, data };
|
return { err: false, data };
|
||||||
|
|||||||
Reference in New Issue
Block a user