diff --git a/translate-api/controllers/translate.js b/translate-api/controllers/translate.js index 88a0946..2549610 100644 --- a/translate-api/controllers/translate.js +++ b/translate-api/controllers/translate.js @@ -25,7 +25,7 @@ exports.translate = function(req, res, next) { amqp.receiveFromQueue(id, 'translations', false, res, function(err, message) { if (err) return error.internalError('An internal communication error has occurred.', next); - res.status(200).send(message); + res.status(200).send(message.replace(/\"/g, "")); }); }); }; @@ -44,7 +44,7 @@ exports.translateURL = function(req, res, next) { amqp.receiveFromQueue(id, 'translations', false, res, function(err, message) { if (err) return error.internalError('An internal communication error has occurred.', next); - res.status(200).send(message); + res.status(200).send(message.replace(/\"/g, "")); }); }); }; -- libgit2 0.21.2