From 5bad5bbca5ed8f70ae5b44f48ca9705635d4fc83 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 7 Sep 2022 17:00:01 -0500 Subject: [PATCH] Correct URI --- src/app/settings/settings.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);