diff --git a/src/utils/queryCacher.ts b/src/utils/queryCacher.ts index 2f843fa..b1fbe46 100644 --- a/src/utils/queryCacher.ts +++ b/src/utils/queryCacher.ts @@ -119,6 +119,8 @@ function clearSegmentCache(videoInfo: { videoID: VideoID; hashedVideoID: VideoID redis.del(videoLabelsKey(videoInfo.hashedVideoID, videoInfo.service)).catch((err) => Logger.error(err)); redis.del(videoLabelsHashKey(videoInfo.hashedVideoID, videoInfo.service)).catch((err) => Logger.error(err)); if (videoInfo.userID) redis.del(reputationKey(videoInfo.userID)).catch((err) => Logger.error(err)); + + clearBrandingCache(videoInfo); } }