Skip to content

Commit

Permalink
one change at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
SerKnight committed Feb 4, 2020
1 parent 57ccf5e commit e3065c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/xeroClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export class XeroClient {
}

async buildConsentUrl() {
const client = this.openIdClient || this.buildClient()
const url = client.authorizationUrl({
const url = this.openIdClient.authorizationUrl({
redirect_uri: this.config.redirectUris[0],
scope: this.config.scopes.join(' ') || 'openid email profile'
});
Expand Down

0 comments on commit e3065c2

Please sign in to comment.