From 2a4f6415d6ffc7b44b332fab4f36ec989a6e5bd5 Mon Sep 17 00:00:00 2001 From: Hinton Date: Tue, 11 Jan 2022 20:16:06 +0100 Subject: [PATCH] Changed methods to be protected --- jslib | 2 +- src/services/keyConnector.service.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 54f407d0..462a4d7c 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 54f407d0de3ee0d38ba6b414da388cfd6bc57001 +Subproject commit 462a4d7c56084c8bb9c06b9696f708bf796f4772 diff --git a/src/services/keyConnector.service.ts b/src/services/keyConnector.service.ts index 20374f9b..59285b8e 100644 --- a/src/services/keyConnector.service.ts +++ b/src/services/keyConnector.service.ts @@ -40,7 +40,7 @@ export class KeyConnectorService extends BaseKeyConnectorService { ); } - async getUserKeyFromKeyConnector(url: string): Promise { + protected async getUserKeyFromKeyConnector(url: string): Promise { if (this.platformUtilsService.isSelfHost()) { return super.getUserKeyFromKeyConnector(url); } @@ -51,7 +51,10 @@ export class KeyConnectorService extends BaseKeyConnectorService { return frame.promise.then((key: string) => new KeyConnectorUserKeyResponse({ Key: key })); } - async postUserKeyToKeyConnector(url: string, request: KeyConnectorUserKeyRequest): Promise { + protected async postUserKeyToKeyConnector( + url: string, + request: KeyConnectorUserKeyRequest + ): Promise { if (this.platformUtilsService.isSelfHost()) { return super.postUserKeyToKeyConnector(url, request); }