Смена рузультата ответа на CommandService.ashx

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@56665 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Alexander.Trofimov
2014-06-16 12:47:26 +00:00
parent c1e6f051ea
commit 73f4cbb087

View File

@ -44,6 +44,7 @@ docsCoServer.install(server, function() {
app.get('/CommandService.ashx', function(req, res) {
var result = docsCoServer.commandFromServer(req.query);
res.send('Command result: ' + result);
res.send(JSON.stringify({'key': req.query.key, 'error': result}));
});
});