mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-19 14:09:06 +03:00
Clear query cache for branding
This commit is contained in:
@@ -44,6 +44,11 @@ export async function postClearCache(req: Request, res: Response): Promise<Respo
|
||||
hashedVideoID,
|
||||
service
|
||||
});
|
||||
QueryCacher.clearBrandingCache({
|
||||
videoID,
|
||||
hashedVideoID,
|
||||
service
|
||||
});
|
||||
return res.status(200).json({
|
||||
message: `Cache cleared on video ${videoID}`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user