Correct URI

This commit is contained in:
Rene Vergara 2022-09-07 17:00:01 -05:00
parent c8f6010f50
commit 5bad5bbca5
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -88,7 +88,7 @@ export class SettingsComponent implements OnInit {
xeroService.getXeroConfig(); xeroService.getXeroConfig();
this.clientIdUpdate.subscribe(clientId => { this.clientIdUpdate.subscribe(clientId => {
this.clientId = 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; this.accCodeUpdate = xeroService.accCodeUpdate;
xeroService.getXeroAccountCode(this.owner.address); xeroService.getXeroAccountCode(this.owner.address);