feat: GraphQL setting, right, folder resolvers

This commit is contained in:
NGPixel
2017-08-19 22:51:25 -04:00
parent 02183f82ec
commit 574e4b97f4
12 changed files with 232 additions and 1 deletions

View File

@@ -47,6 +47,13 @@ module.exports = {
return grp.removeUser(usr)
})
})
},
renameGroup(obj, args) {
return wiki.db.Group.update({
name: args.name
}, {
where: { id: args.id }
})
}
},
Group: {