mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Make added, removed, changed, optional in auth session change event, fixes #117469
This commit is contained in:
@@ -111,7 +111,11 @@ export class ExtHostAuthentication implements ExtHostAuthenticationShape {
|
||||
}
|
||||
|
||||
const listener = provider.onDidChangeSessions(e => {
|
||||
this._proxy.$sendDidChangeSessions(id, e);
|
||||
this._proxy.$sendDidChangeSessions(id, {
|
||||
added: e.added ?? [],
|
||||
changed: e.changed ?? [],
|
||||
removed: e.changed ?? []
|
||||
});
|
||||
});
|
||||
|
||||
this._proxy.$registerAuthenticationProvider(id, label, options?.supportsMultipleAccounts ?? false);
|
||||
|
||||
Reference in New Issue
Block a user