1
0
mirror of https://github.com/bitwarden/web synced 2026-01-31 00:33:19 +00:00

Fix linting

This commit is contained in:
Hinton
2022-01-11 20:14:37 +01:00
parent 29476f6744
commit 91eb60ebef

View File

@@ -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(() => {});
}