mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
Updated log message for expired uploads deletion
This commit is contained in:
parent
589bf00dd9
commit
2d1db2bd01
@ -252,9 +252,9 @@ safe.use('/api', api)
|
||||
const result = await utils.bulkDeleteExpired()
|
||||
|
||||
if (result.expired.length) {
|
||||
let logMessage = `Deleted ${result.expired.length} expired upload(s)`
|
||||
let logMessage = `Expired uploads: ${result.expired.length} deleted`
|
||||
if (result.failed.length)
|
||||
logMessage += ` but unable to delete ${result.failed.length}`
|
||||
logMessage += `, ${result.failed.length} errored`
|
||||
|
||||
logger.log(logMessage)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user