mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-04-13 14:38:40 +03:00
rename clearSegmentCache
This commit is contained in:
@@ -31,7 +31,7 @@ export async function postPurgeAllSegments(req: Request, res: Response): Promise
|
||||
await db.prepare("run", `UPDATE "sponsorTimes" SET "hidden" = 1 WHERE "videoID" = ?`, [videoID]);
|
||||
|
||||
const hashedVideoID: VideoIDHash = getHash(videoID, 1);
|
||||
QueryCacher.clearVideoCache({
|
||||
QueryCacher.clearSegmentCache({
|
||||
videoID,
|
||||
hashedVideoID,
|
||||
service
|
||||
|
||||
Reference in New Issue
Block a user