mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Add 'key' to onDidChange of secrets API, #112249
This commit is contained in:
@@ -23,8 +23,9 @@ export class MainThreadSecretState extends Disposable implements MainThreadSecre
|
||||
super();
|
||||
this._proxy = extHostContext.getProxy(ExtHostContext.ExtHostSecretState);
|
||||
|
||||
this._register(this.credentialsService.onDidChangePassword(_ => {
|
||||
this._proxy.$onDidChangePassword();
|
||||
this._register(this.credentialsService.onDidChangePassword(e => {
|
||||
const extensionId = e.service.substring(this.productService.urlProtocol.length);
|
||||
this._proxy.$onDidChangePassword({ extensionId, key: e.account });
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user