refactor(twitter): use .all in auth args
This commit is contained in:
@@ -94,13 +94,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'formattedData',
|
name: 'formattedData',
|
||||||
value: null,
|
value: '{openAuthPopup.all}',
|
||||||
properties: [
|
|
||||||
{
|
|
||||||
name: 'oauthVerifier',
|
|
||||||
value: '{openAuthPopup.oauth_verifier}',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@@ -3,7 +3,7 @@ import { URLSearchParams } from 'url';
|
|||||||
|
|
||||||
const verifyCredentials = async ($: IGlobalVariable) => {
|
const verifyCredentials = async ($: IGlobalVariable) => {
|
||||||
const response = await $.http.post(
|
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
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user