File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/services/userDataSync/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,15 +211,15 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
211
211
const sessions = await this . authenticationService . getSessions ( authenticationProviderId , scopes ) || [ ] ;
212
212
for ( const session of sessions ) {
213
213
const account : UserDataSyncAccount = new UserDataSyncAccount ( authenticationProviderId , session ) ;
214
- accounts . set ( account . accountName , account ) ;
214
+ accounts . set ( account . accountId , account ) ;
215
215
if ( this . isCurrentAccount ( account ) ) {
216
216
currentAccount = account ;
217
217
}
218
218
}
219
219
220
220
if ( currentAccount ) {
221
221
// Always use current account if available
222
- accounts . set ( currentAccount . accountName , currentAccount ) ;
222
+ accounts . set ( currentAccount . accountId , currentAccount ) ;
223
223
}
224
224
225
225
return [ ...accounts . values ( ) ] ;
You can’t perform that action at this time.
0 commit comments