mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Fix youtube api cache key
This commit is contained in:
@@ -10,7 +10,7 @@ export class YouTubeAPI {
|
||||
return { err: "Invalid video ID" };
|
||||
}
|
||||
|
||||
const cacheKey = `yt.newleaf.video.$[videoID}`;
|
||||
const cacheKey = `yt.newleaf.video.${videoID}`;
|
||||
if (!ignoreCache) {
|
||||
try {
|
||||
const data = await DiskCache.get(cacheKey);
|
||||
|
||||
Reference in New Issue
Block a user