mirror of
https://github.com/bitwarden/web
synced 2026-01-31 00:33:19 +00:00
Fix linting
This commit is contained in:
@@ -51,7 +51,7 @@ export class KeyConnectorService extends BaseKeyConnectorService {
|
||||
return frame.promise.then((key: string) => new KeyConnectorUserKeyResponse({ Key: key }));
|
||||
}
|
||||
|
||||
async postUserKeyToKeyConnector(url: string, request: KeyConnectorUserKeyRequest) {
|
||||
async postUserKeyToKeyConnector(url: string, request: KeyConnectorUserKeyRequest): Promise<void> {
|
||||
if (this.platformUtilsService.isSelfHost()) {
|
||||
return super.postUserKeyToKeyConnector(url, request);
|
||||
}
|
||||
@@ -59,6 +59,7 @@ export class KeyConnectorService extends BaseKeyConnectorService {
|
||||
const frame = this.createIframe();
|
||||
frame.frame.initPost(await this.apiService.getActiveBearerToken(), url, request.key);
|
||||
|
||||
// tslint:disable-next-line
|
||||
return frame.promise.then(() => {});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user