Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Typos and res.error is not defined

  • Loading branch information...
commit f62d3a28391d9b662b9b60485337aab0a694e2df 1 parent 11dfff9
@alejandro alejandro authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/domains.js
View
6 lib/domains.js
@@ -53,7 +53,7 @@ module.exports = {
}
});
} else {
- res.json(400, {"status": 'failure - ' + gooddomain + });
+ res.json(400, {"status": 'failure - ' + gooddomain });
}
},
delete: function(req, res, next) {
@@ -69,7 +69,7 @@ module.exports = {
aliasdomains.get(domain, function(err, doc) {
if (err) {
if (err.error == 'not_found') {
- res.json(400, {"status": "failure - domain not found."}\n);
+ res.json(400, {"status": "failure - domain not found."});
} else {
res.json(400, {
status: "failure",
@@ -100,7 +100,7 @@ module.exports = {
});
} else {
res.json(400, {
- "status": "failure - " + gooddomain +
+ "status": "failure - " + gooddomain
});
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.