mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Fixed authController.js
This commit is contained in:
parent
fcf4c00de7
commit
4456ba4b4d
@ -225,7 +225,7 @@ authController.listUsers = async (req, res, next) => {
|
||||
const userids = []
|
||||
|
||||
for (const user of users) {
|
||||
user.groups = authController.mapPermissions(user)
|
||||
user.groups = perms.mapPermissions(user)
|
||||
delete user.permission
|
||||
|
||||
userids.push(user.id)
|
||||
|
Loading…
Reference in New Issue
Block a user