mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-27 17:54:11 +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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue