code cleanup

This commit is contained in:
canove
2020-09-07 09:45:39 -03:00
parent 324a1996b0
commit 42a8feacdd

View File

@@ -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);