diff --git a/src/main/auth.js b/src/main/auth.js index 3d481abb3e..117fa8ba60 100644 --- a/src/main/auth.js +++ b/src/main/auth.js @@ -1,6 +1,6 @@ import Mastodon from 'mastodon-api' -const appName = 'whalebird' +const appName = 'Whalebird' const scope = 'read write follow' export default class Authentication { @@ -22,6 +22,7 @@ export default class Authentication { async getAuthorizationUrl (domain = 'mastodon.social') { this.setOtherInstance(domain) + // Waiting for merge this pull request: https://github.com/vanita5/mastodon-api/pull/8 const res = await Mastodon.createOAuthApp(this.baseURL + '/api/v1/apps', appName, scope) this.clientId = res.client_id this.clientSecret = res.client_secret