chore: Make createAuthLink mutation more generic

This commit is contained in:
Faruk AYDIN
2021-10-24 20:06:16 +02:00
committed by Ali BARIN
parent 81d5e6d17c
commit 8e91f1f7ed
6 changed files with 19 additions and 13 deletions

View File

@@ -34,8 +34,9 @@ export default class Flickr {
const url = await this.oauthClient.authorizeUrl(oauthData.oauth_token, 'delete');
return {
...oauthData,
url,
accessToken: oauthData.oauth_token,
accessSecret: oauthData.oauth_token_secret,
url: url,
};
}