mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
Specify api url in Send file download request (#291)
This commit is contained in:
@@ -86,7 +86,7 @@ export class SendReceiveCommand extends DownloadCommand {
|
||||
process.stdout.write(response?.text?.text);
|
||||
return Response.success();
|
||||
case SendType.File:
|
||||
const downloadData = await this.apiService.getSendFileDownloadData(response, this.sendAccessRequest);
|
||||
const downloadData = await this.apiService.getSendFileDownloadData(response, this.sendAccessRequest, apiUrl);
|
||||
return await this.saveAttachmentToFile(downloadData.url, this.decKey, response?.file?.fileName, options.output);
|
||||
default:
|
||||
return Response.success(new SendAccessResponse(response));
|
||||
|
||||
Reference in New Issue
Block a user