mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(rest) delete add: gzip: false, name .txt
This commit is contained in:
parent
915b718f22
commit
82c3601cb1
1 changed files with 4 additions and 1 deletions
|
|
@ -80,6 +80,9 @@
|
|||
if (options.name)
|
||||
params.name = options.name;
|
||||
|
||||
if (options.gzip !== undefined)
|
||||
params.gzip = options.gzip;
|
||||
|
||||
if (options.query)
|
||||
params.query = options.query;
|
||||
|
||||
|
|
@ -196,7 +199,7 @@
|
|||
msg = formatMsg('delete', names);
|
||||
}
|
||||
|
||||
callback(error, msg);
|
||||
callback(error, {gzip: false, name: '.txt'}, msg);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue