mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-23 08:54:11 +01:00
Update logs for cache purge
This commit is contained in:
1 parent
89aa4a8bdc
commit
c881bcbe59
2 files changed
+4
-4
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user