mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactor(rest) change order of query, name
This commit is contained in:
parent
94125cbc9b
commit
b3d024f0da
3 changed files with 5 additions and 5 deletions
|
|
@ -178,7 +178,7 @@
|
|||
break;
|
||||
|
||||
case 'PUT':
|
||||
onFSPut(path, query, p.request, function(error, msg) {
|
||||
onFSPut(query, path, p.request, function(error, msg) {
|
||||
if (error)
|
||||
sendError(params, error);
|
||||
else
|
||||
|
|
@ -195,7 +195,7 @@
|
|||
else {
|
||||
files = Util.parseJSON(body);
|
||||
|
||||
onDelete(path, files, query, function(error) {
|
||||
onDelete(query, path, files, function(error) {
|
||||
var names;
|
||||
|
||||
if (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue