refactor: Use generateAuthUrl method instead of createAuthData

This commit is contained in:
Faruk AYDIN
2022-11-10 18:50:36 +01:00
parent 10e2794ff9
commit 81c41ef5ee
21 changed files with 42 additions and 50 deletions

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_DATA } from './create-auth-data';
import { GENERATE_AUTH_URL } from './generate-auth-url';
type Mutations = {
[key: string]: any;
@@ -15,7 +15,7 @@ const mutations: Mutations = {
verifyConnection: VERIFY_CONNECTION,
resetConnection: RESET_CONNECTION,
deleteConnection: DELETE_CONNECTION,
createAuthData: CREATE_AUTH_DATA,
generateAuthUrl: GENERATE_AUTH_URL,
};
export default mutations;