Removed stray console.log()

This commit is contained in:
Bobby Wibowo 2018-10-13 18:09:54 +07:00
parent 4456ba4b4d
commit 4862512471
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -168,7 +168,6 @@ utilsController.deleteFile = file => {
utilsController.bulkDeleteFiles = async (field, values, user) => {
if (!user || !['id', 'name'].includes(field)) { return }
console.log(require('util').inspect(perms))
const ismoderator = perms.is(user, 'moderator')
const files = await db.table('files')
.whereIn(field, values)