Correct URI
This commit is contained in:
parent
c8f6010f50
commit
5bad5bbca5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue