mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(main) rm checkCallBackParams
This commit is contained in:
parent
507df5d272
commit
af9c24a59d
1 changed files with 0 additions and 5 deletions
|
|
@ -72,7 +72,6 @@
|
|||
exports.redirect = redirect,
|
||||
|
||||
exports.checkParams = checkParams,
|
||||
exports.checkCallBackParams = checkCallBackParams,
|
||||
|
||||
/* compitability with old versions of node */
|
||||
exports.fs.exists = exports.fs.exists || exports.path.exists,
|
||||
|
|
@ -385,10 +384,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
function checkCallBackParams(pParams) {
|
||||
return Util.checkObj(pParams, ['error', 'data', 'params']);
|
||||
}
|
||||
|
||||
function checkParams(params, additional) {
|
||||
var ret = Util.checkObjTrue(params, ['name', REQUEST, RESPONSE]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue