-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 🔧 change queries to mutations
- Loading branch information
Showing
13 changed files
with
131 additions
and
136 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
46 changes: 46 additions & 0 deletions
46
src/graphql/mutations/__generated__/getAuthToken.generated.tsx
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
src/graphql/mutations/__generated__/getSessionToken.generated.tsx
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/graphql/queries/getAuthToken.ts → src/graphql/mutations/getAuthToken.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const GET_AUTH_TOKEN = gql` | ||
query GetAuthToken($cookie: String) { | ||
mutation GetAuthToken($cookie: String) { | ||
getAuthToken(cookie: $cookie) | ||
} | ||
`; |
2 changes: 1 addition & 1 deletion
2
src/graphql/queries/getSessionToken.ts → src/graphql/mutations/getSessionToken.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const GET_SESSION_TOKEN = gql` | ||
query GetSessionToken($id: String!, $password: String!) { | ||
mutation GetSessionToken($id: String!, $password: String!) { | ||
getSessionToken(id: $id, password: $password) | ||
} | ||
`; |
47 changes: 0 additions & 47 deletions
47
src/graphql/queries/__generated__/getAuthToken.generated.tsx
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
src/graphql/queries/__generated__/getSessionToken.generated.tsx
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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