move to using an id token for settings sync

This commit is contained in:
Tyler Leonhardt
2021-07-12 10:06:40 -07:00
parent 4cf81a2a56
commit c35c7e050d
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ class UserDataSyncAccount implements IUserDataSyncAccount {
get sessionId(): string { return this.session.id; }
get accountName(): string { return this.session.account.label; }
get accountId(): string { return this.session.account.id; }
get token(): string { return this.session.accessToken; }
get token(): string { return this.session.idToken || this.session.accessToken; }
}
export class UserDataSyncWorkbenchService extends Disposable implements IUserDataSyncWorkbenchService {