mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Direct download for send (#243)
* Remove Get file capability This needs to be removed because the SendFileResponse no longer contains a url to download the file from. Instead, a GetDownloadLink method must be used. That method increments access count, which is not desirable for the owner of the Send. The cleanest approach is to remove the capability, which also matches Web client's behavior * jslib updates * Use GetDownloadData method to receive download Url * Update jslib
This commit is contained in:
@@ -132,7 +132,6 @@ export class SendProgram extends Program {
|
||||
.description('Get Sends owned by you.')
|
||||
.option('--output <output>', 'Output directory or filename for attachment.')
|
||||
.option('--text', 'Specifies to return the text content of a Send')
|
||||
.option('--file', 'Specifies to return the file content of a Send. This can be paired with --output or --raw to output to stdout')
|
||||
.on('--help', () => {
|
||||
writeLn('');
|
||||
writeLn(' Id:');
|
||||
|
||||
Reference in New Issue
Block a user