diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-08-21 13:25:55 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-08-21 13:25:55 +0200 |
commit | a92fb07d23fb2268a6f4e650c5cbd00ad993e760 (patch) | |
tree | 149f2d084b8fec0b5a2bc5364f5d9e3487c94971 /src/graphql/mod.rs | |
parent | 24388ba81515c57e812994fdb9147e6de7f3a5b6 (diff) |
Add login
Fields sent are
```
{
"query": "mutation Login($input: LoginCredentials!) { login(input: $input) { accessToken tokenType } }",
"variables": {
"input": {
"email": "....",
"password": "..."
}
}
}
```
Diffstat (limited to 'src/graphql/mod.rs')
-rw-r--r-- | src/graphql/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphql/mod.rs b/src/graphql/mod.rs index b394fc1..425faca 100644 --- a/src/graphql/mod.rs +++ b/src/graphql/mod.rs @@ -1,3 +1,4 @@ +pub mod mutation; pub mod query; pub mod routes; pub mod types; |