diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts index f8afc53..5651f16 100644 --- a/src/app/settings/settings.component.ts +++ b/src/app/settings/settings.component.ts @@ -88,7 +88,7 @@ export class SettingsComponent implements OnInit { xeroService.getXeroConfig(); this.clientIdUpdate.subscribe(clientId => { this.clientId = clientId; - this.xeroLink = `https://login.xero.com/identity/connect/authorize?response_type=code&client_id=${this.clientId}&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Ftest&scope=accounting.transactions offline_access&state=${this.owner.address.substring(0, 6)}` + this.xeroLink = `https://login.xero.com/identity/connect/authorize?response_type=code&client_id=${this.clientId}&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fxeroauth&scope=accounting.transactions offline_access&state=${this.owner.address.substring(0, 6)}` }); this.accCodeUpdate = xeroService.accCodeUpdate; xeroService.getXeroAccountCode(this.owner.address);