refactor(twitter): use .all in auth args

This commit is contained in:
Ali BARIN
2022-11-10 00:12:26 +01:00
parent bbace2b2c1
commit 6d3606abf0
2 changed files with 2 additions and 8 deletions

View File

@@ -94,13 +94,7 @@ export default {
},
{
name: 'formattedData',
value: null,
properties: [
{
name: 'oauthVerifier',
value: '{openAuthPopup.oauth_verifier}',
},
],
value: '{openAuthPopup.all}',
},
],
},

View File

@@ -3,7 +3,7 @@ import { URLSearchParams } from 'url';
const verifyCredentials = async ($: IGlobalVariable) => {
const response = await $.http.post(
`/oauth/access_token?oauth_verifier=${$.auth.data.oauthVerifier}&oauth_token=${$.auth.data.accessToken}`,
`/oauth/access_token?oauth_verifier=${$.auth.data.oauth_verifier}&oauth_token=${$.auth.data.accessToken}`,
null
);