Update logs for cache purge

This commit is contained in:
advplyr 2023-07-14 15:04:27 -05:00
parent 89aa4a8bdc
commit c881bcbe59
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,6 @@ class CacheController {
if (!req.user.isAdminOrUp) {
return res.sendStatus(403)
}
Logger.info(`[MiscController] Purging all cache`)
await this.cacheManager.purgeAll()
res.sendStatus(200)
}
@ -18,7 +17,6 @@ class CacheController {
if (!req.user.isAdminOrUp) {
return res.sendStatus(403)
}
Logger.info(`[MiscController] Purging items cache`)
await this.cacheManager.purgeItems()
res.sendStatus(200)
}