Last active
September 14, 2020 21:44
-
-
Save ferdinandsalis/163f279426f7f839ae2f4acefcacf5a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation createClient(client: ClientInput!, organizationId: ID!) { | |
id | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation loginUser(email: $email, password: $password) { | |
token | |
expiresAt | |
user { | |
id | |
name | |
organizations { | |
id | |
name | |
} | |
} | |
} |
mutation generateUserToken(input: {email: $email, password: $password}) {
userToken {
token
expiresAt
user {
id
email
organizations {
id
name
}
}
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wird eh Zeit, dass wir die api etwas sauberer gestalten bevor wir es übersehen.