Commit 762febc5 authored by Eugene MechanisM's avatar Eugene MechanisM Committed by Thomas B. Rücker

Fixed typo in response text.

parent 52d5a161
......@@ -53,7 +53,7 @@ function ypTouch(req, res) {
if (err || result.rowCount === 0) {
ypRes(res, false, "Could not find database entry", null, null);
} else {
ypRes(res, true, "Scucessfully touched", null, null);
ypRes(res, true, "Successfully touched", null, null);
}
});
} else {
......@@ -62,7 +62,7 @@ function ypTouch(req, res) {
if (err || result.rowCount === 0) {
ypRes(res, false, "Could not find database entry", null, null);
} else {
ypRes(res, true, "Scucessfully touched", null, null);
ypRes(res, true, "Successfully touched", null, null);
}
});
}
......@@ -75,7 +75,7 @@ function ypRemove(req, res) {
if (err) {
ypRes(res, false, "Could not find database entry", null, null);
} else {
ypRes(res, true, "Scucessfully removed", null, null);
ypRes(res, true, "Successfully removed", null, null);
}
});
}
......@@ -227,4 +227,4 @@ function generateSubType(type) {
return stype;
}
module.exports = init;
\ No newline at end of file
module.exports = init;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment