mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
code cleanup
This commit is contained in:
@@ -142,7 +142,6 @@ exports.update = async (req, res) => {
|
|||||||
.status(403)
|
.status(403)
|
||||||
.json({ error: "There must be at leat one admin user." });
|
.json({ error: "There must be at leat one admin user." });
|
||||||
}
|
}
|
||||||
console.log("found", adminUsers);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
await user.update(req.body);
|
await user.update(req.body);
|
||||||
|
|||||||
Reference in New Issue
Block a user