add shutdown/reboot mutation

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-07-15 14:55:06 +09:30
parent a0470c16e1
commit 816ba612cd

View File

@@ -36,6 +36,9 @@ module.exports = function ($injector, get, gql, graphql, graphqlDirective, merge
type Mutation {
login(username: String!, password: String!): String
shutdown: String
reboot: String
}
`];