Clear query cache for branding

This commit is contained in:
Ajay
2023-03-29 00:32:29 -04:00
parent 19ebca86c9
commit 4696ce8d01
3 changed files with 16 additions and 1 deletions

View File

@@ -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}`
});