chore: Rename createAuthLink as createAuthData

This commit is contained in:
Faruk AYDIN
2021-10-26 21:52:04 +02:00
committed by Ali BARIN
parent 901699fe64
commit cbfba465db
15 changed files with 43 additions and 43 deletions

View File

@@ -0,0 +1,9 @@
import { gql } from '@apollo/client';
export const CREATE_AUTH_DATA = gql`
mutation createAuthData($id: String!) {
createAuthData(id: $id) {
url
}
}
`;

View File

@@ -1,9 +0,0 @@
import { gql } from '@apollo/client';
export const CREATE_AUTH_LINK = gql`
mutation CreateAuthLink($id: String!) {
createAuthLink(id: $id) {
url
}
}
`;

View File

@@ -3,7 +3,7 @@ import { UPDATE_CONNECTION } from './update-connection';
import { VERIFY_CONNECTION } from './verify-connection';
import { RESET_CONNECTION } from './reset-connection';
import { DELETE_CONNECTION } from './delete-connection';
import { CREATE_AUTH_LINK } from './create-auth-link';
import { CREATE_AUTH_DATA } from './create-auth-data';
type Mutations = {
[key: string]: any,
@@ -15,7 +15,7 @@ const mutations: Mutations = {
verifyConnection: VERIFY_CONNECTION,
resetConnection: RESET_CONNECTION,
deleteConnection: DELETE_CONNECTION,
createAuthLink: CREATE_AUTH_LINK,
createAuthData: CREATE_AUTH_DATA,
};
export default mutations;