1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00

PM-919 undo changes in files

This commit is contained in:
voommen-livefront
2025-03-27 14:06:01 -05:00
parent 327e024a10
commit f69b1ff539
2 changed files with 4 additions and 5 deletions

View File

@@ -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;

View File

@@ -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") {