summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorWu Cheng-Han2015-05-15 12:58:13 +0800
committerWu Cheng-Han2015-05-15 12:58:13 +0800
commit4e64583a0b6175d2c9a6729ffde1472dd55d389c (patch)
tree75253f2425f2e4f5906ed4fd30eca29a906ee47a /lib/response.js
parent2d36d7ce84c636faac17cef3d3a7c22568df38fe (diff)
Marked as 0.2.8
Diffstat (limited to 'lib/response.js')
-rw-r--r--lib/response.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/response.js b/lib/response.js
index 458ed01f..a7dcc023 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -17,16 +17,16 @@ var Note = require("./note.js");
//public
var response = {
errorForbidden: function (res) {
- res.status(403).send("Forbidden, oh no.")
+ res.status(403).send("Forbidden, oh no.");
},
errorNotFound: function (res) {
- responseError(res, "404", "Not Found", "oops.")
+ responseError(res, "404", "Not Found", "oops.");
},
errorInternalError: function (res) {
- responseError(res, "500", "Internal Error", "wtf.")
+ responseError(res, "500", "Internal Error", "wtf.");
},
errorServiceUnavailable: function (res) {
- res.status(503).send("I'm busy right now, try again later.")
+ res.status(503).send("I'm busy right now, try again later.");
},
newNote: newNote,
showFeatures: showFeatures,