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

@@ -22,7 +22,7 @@ export default class Discord {
return this.appData.fields.find((field: Field) => field.key == 'oAuthRedirectUrl').value;
}
async createAuthLink() {
async createAuthData() {
const searchParams = new URLSearchParams({
client_id: this.connectionData.consumerKey,
redirect_uri: this.oauthRedirectUrl,

View File

@@ -71,7 +71,7 @@
{
"step": 2,
"type": "mutation",
"name": "createAuthLink",
"name": "createAuthData",
"fields": [
{
"name": "id",
@@ -86,7 +86,7 @@
"fields": [
{
"name": "url",
"value": "{createAuthLink.url}"
"value": "{createAuthData.url}"
}
]
},
@@ -163,7 +163,7 @@
{
"step": 3,
"type": "mutation",
"name": "createAuthLink",
"name": "createAuthData",
"fields": [
{
"name": "id",
@@ -178,7 +178,7 @@
"fields": [
{
"name": "url",
"value": "{createAuthLink.url}"
"value": "{createAuthData.url}"
}
]
},