mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[PM-686] [CLI] Add proxy support for file downloads (#7345)
* Add proxy support for file downloads Instead of using node's native fetch we extend ApiService with NodeApiService to add support for proxies using `node-fetch` * Add comments to the DownloadCommand --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
99008267e6
commit
065725df7a
@@ -60,13 +60,13 @@ export class GetCommand extends DownloadCommand {
|
||||
private keyService: KeyService,
|
||||
encryptService: EncryptService,
|
||||
private searchService: SearchService,
|
||||
private apiService: ApiService,
|
||||
protected apiService: ApiService,
|
||||
private organizationService: OrganizationService,
|
||||
private eventCollectionService: EventCollectionService,
|
||||
private accountProfileService: BillingAccountProfileStateService,
|
||||
private accountService: AccountService,
|
||||
) {
|
||||
super(encryptService);
|
||||
super(encryptService, apiService);
|
||||
}
|
||||
|
||||
async run(object: string, id: string, cmdOptions: Record<string, any>): Promise<Response> {
|
||||
|
||||
Reference in New Issue
Block a user