summaryrefslogtreecommitdiffstats
path: root/server/api
diff options
context:
space:
mode:
authorChristian Hofmaier2019-05-20 04:02:57 +0200
committerChristian Hofmaier2019-05-20 04:02:57 +0200
commit23ea2985819903fedbb3a9692278201f5da1bb56 (patch)
treeaff89e1cf0959fd3624caf8686758ccc9cdaf01a /server/api
parent[permissionmanager] frontend rework (diff)
downloadbas-23ea2985819903fedbb3a9692278201f5da1bb56.tar.gz
bas-23ea2985819903fedbb3a9692278201f5da1bb56.tar.xz
bas-23ea2985819903fedbb3a9692278201f5da1bb56.zip
[permissionmanager] remove console log and tab animation
Diffstat (limited to 'server/api')
-rw-r--r--server/api/roles.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/api/roles.js b/server/api/roles.js
index e9ccf2c..f4803cf 100644
--- a/server/api/roles.js
+++ b/server/api/roles.js
@@ -14,7 +14,6 @@ router.getAsync('/:id', async (req, res) => {
// if (!await req.user.hasPermission('permissions.*')) return res.status(403).end()
var role = await db.role.findOne({ where: { id: req.params.id }, include: ['permissions', 'groups'] })
- console.log(role)
if (role) res.send(role)
else res.status(404).end()
})