summaryrefslogtreecommitdiffstats
path: root/server/api/groups.js
diff options
context:
space:
mode:
authorChristian Hofmaier2018-08-07 08:56:58 +0200
committerChristian Hofmaier2018-08-07 08:56:58 +0200
commit14635c696d7df5b4ccb2c423157b6fb917cb869b (patch)
tree1335a608f24226be4edc946cf491ca8155fbe3df /server/api/groups.js
parent[groups] add ability to show all nested children and not just direkt children... (diff)
downloadbas-14635c696d7df5b4ccb2c423157b6fb917cb869b.tar.gz
bas-14635c696d7df5b4ccb2c423157b6fb917cb869b.tar.xz
bas-14635c696d7df5b4ccb2c423157b6fb917cb869b.zip
Roles of Users now in fancy boxes and other small ui polishing
Diffstat (limited to 'server/api/groups.js')
-rw-r--r--server/api/groups.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/api/groups.js b/server/api/groups.js
index e8efd4f..0ea45fb 100644
--- a/server/api/groups.js
+++ b/server/api/groups.js
@@ -27,7 +27,7 @@ function includeAllChilds (group, groupIdChain = []) {
module.exports.get = {
// get a list containing id and name of all groups
getList: function (req, res) {
- db.group.findAll({ attributes: ['id', 'name'], order: [['name', 'ASC']] }).then(list => {
+ db.group.findAll({ attributes: ['id', 'name', 'description'], order: [['name', 'ASC']] }).then(list => {
res.send(list)
})
},