diff --git a/src/graphql/schema.js b/src/graphql/schema.js index b9488a9d75229dbf30b471616e0a88e21e6fed89..1cfd245ba89e4924af3c3b66fd0d32e0bb14a8d0 100644 --- a/src/graphql/schema.js +++ b/src/graphql/schema.js @@ -11,6 +11,7 @@ import { assertBinaryExpression } from 'babel-types'; import { Group, User } from './user_and_group'; const typeDefs = ` + type Query { allGroups: [Group] group(uid: ID) : Group @@ -33,6 +34,7 @@ const typeDefs = ` } type AdminMutation { + createSubgroup( uid: ID = null, name: String,