mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Removed stray console.log()
This commit is contained in:
parent
4456ba4b4d
commit
4862512471
@ -168,7 +168,6 @@ utilsController.deleteFile = file => {
|
|||||||
utilsController.bulkDeleteFiles = async (field, values, user) => {
|
utilsController.bulkDeleteFiles = async (field, values, user) => {
|
||||||
if (!user || !['id', 'name'].includes(field)) { return }
|
if (!user || !['id', 'name'].includes(field)) { return }
|
||||||
|
|
||||||
console.log(require('util').inspect(perms))
|
|
||||||
const ismoderator = perms.is(user, 'moderator')
|
const ismoderator = perms.is(user, 'moderator')
|
||||||
const files = await db.table('files')
|
const files = await db.table('files')
|
||||||
.whereIn(field, values)
|
.whereIn(field, values)
|
||||||
|
Loading…
Reference in New Issue
Block a user