mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 23:47:00 +03:00
rename clearSegmentCache
This commit is contained in:
@@ -267,7 +267,7 @@ async function categoryVote(UUID: SegmentUUID, userID: UserID, isVIP: boolean, i
|
||||
}
|
||||
}
|
||||
|
||||
QueryCacher.clearVideoCache(videoInfo);
|
||||
QueryCacher.clearSegmentCache(videoInfo);
|
||||
|
||||
return res.sendStatus(finalResponse.finalStatus);
|
||||
}
|
||||
@@ -473,7 +473,7 @@ export async function voteOnSponsorTime(req: Request, res: Response): Promise<Re
|
||||
await db.prepare("run", 'UPDATE "sponsorTimes" SET locked = 0 WHERE "UUID" = ?', [UUID]);
|
||||
}
|
||||
|
||||
QueryCacher.clearVideoCache(videoInfo);
|
||||
QueryCacher.clearSegmentCache(videoInfo);
|
||||
}
|
||||
if (incrementAmount - oldIncrementAmount !== 0) {
|
||||
sendWebhooks({
|
||||
|
||||
Reference in New Issue
Block a user