aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/graphql/mutations.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/graphql/mutations.graphql')
-rw-r--r--frontend/src/graphql/mutations.graphql13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/src/graphql/mutations.graphql b/frontend/src/graphql/mutations.graphql
index 9070118..f919e66 100644
--- a/frontend/src/graphql/mutations.graphql
+++ b/frontend/src/graphql/mutations.graphql
@@ -50,3 +50,16 @@ mutation MarkFeedUnread($id: ID!) {
fetchedAt
}
}
+
+mutation Login($username: String!, $password: String!) {
+ login(username: $username, password: $password) {
+ user {
+ id
+ username
+ }
+ }
+}
+
+mutation Logout {
+ logout
+}