From f69b1ff53900ab04fc05cb0935e8eea2afa17434 Mon Sep 17 00:00:00 2001 From: voommen-livefront Date: Thu, 27 Mar 2025 14:06:01 -0500 Subject: [PATCH] PM-919 undo changes in files --- apps/cli/src/oss-serve-configurator.ts | 1 - apps/cli/src/tools/send/commands/receive.command.ts | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/cli/src/oss-serve-configurator.ts b/apps/cli/src/oss-serve-configurator.ts index 641873fb9df..dec09447839 100644 --- a/apps/cli/src/oss-serve-configurator.ts +++ b/apps/cli/src/oss-serve-configurator.ts @@ -47,7 +47,6 @@ export class OssServeConfigurator { private sendCreateCommand: SendCreateCommand; private sendDeleteCommand: SendDeleteCommand; private sendEditCommand: SendEditCommand; - private sendGetCommand: SendGetCommand; private sendListCommand: SendListCommand; private sendRemovePasswordCommand: SendRemovePasswordCommand; diff --git a/apps/cli/src/tools/send/commands/receive.command.ts b/apps/cli/src/tools/send/commands/receive.command.ts index 15c9496ac2d..879d03f6dae 100644 --- a/apps/cli/src/tools/send/commands/receive.command.ts +++ b/apps/cli/src/tools/send/commands/receive.command.ts @@ -33,8 +33,8 @@ export class SendReceiveCommand extends DownloadCommand { private keyService: KeyService, encryptService: EncryptService, private cryptoFunctionService: CryptoFunctionService, - protected platformUtilsService: PlatformUtilsService, - protected environmentService: EnvironmentService, + private platformUtilsService: PlatformUtilsService, + private environmentService: EnvironmentService, private sendApiService: SendApiService, apiService: ApiService, ) { @@ -110,12 +110,12 @@ export class SendReceiveCommand extends DownloadCommand { } } - protected getIdAndKey(url: URL): [string, string] { + private getIdAndKey(url: URL): [string, string] { const result = url.hash.slice(1).split("/").slice(-2); return [result[0], result[1]]; } - protected async getApiUrl(url: URL) { + private async getApiUrl(url: URL) { const env = await firstValueFrom(this.environmentService.environment$); const urls = env.getUrls(); if (url.origin === "https://send.bitwarden.com") {