mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(rest) ponse: rm notLog
This commit is contained in:
parent
7feadb6207
commit
bcffb91cd0
2 changed files with 4 additions and 5 deletions
|
|
@ -91,7 +91,7 @@
|
|||
if (error)
|
||||
ponse.sendError(error, params);
|
||||
else
|
||||
ponse.send(data, params, options.notLog);
|
||||
ponse.send(data, params);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
onFS(params, callback);
|
||||
else if (isMD)
|
||||
markdown(p.name, p.request, function(error, data) {
|
||||
callback(error, {notLog: true}, data);
|
||||
callback(error, data);
|
||||
});
|
||||
else
|
||||
switch(p.request.method) {
|
||||
|
|
@ -181,8 +181,7 @@
|
|||
|
||||
options = {
|
||||
name : p.name + '.json',
|
||||
query : query,
|
||||
notLog : true
|
||||
query : query
|
||||
};
|
||||
|
||||
if (isStr)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
"minimist": "~1.1.0",
|
||||
"mollify": "~1.0.0",
|
||||
"pipe-io": "~1.1.1",
|
||||
"ponse": "~1.2.8",
|
||||
"ponse": "~1.3.0",
|
||||
"socket.io": "~1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue