mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(rest) config: sendError -> main.sendError
This commit is contained in:
parent
da827d51e0
commit
893b40ed80
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@
|
|||
|
||||
fs.writeFile(JSONDIR + 'config.json', json, function(error) {
|
||||
if (error)
|
||||
sendError(pParams, error);
|
||||
main.sendError(pParams, error);
|
||||
else
|
||||
sendMsg(pParams, 'config', name);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue