fix(rest) config: sendError -> main.sendError

This commit is contained in:
coderaiser 2013-11-06 15:15:49 +00:00
parent da827d51e0
commit 893b40ed80

View file

@ -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);
});