aboutsummaryrefslogtreecommitdiff
path: root/web/routes/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/routes/index.js')
-rw-r--r--web/routes/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/routes/index.js b/web/routes/index.js
index 0c72e43..0b32d0e 100644
--- a/web/routes/index.js
+++ b/web/routes/index.js
@@ -38,7 +38,7 @@ router.post('/mobilerequest', function(req, res) {
if (!glookup.hasContainers(point)) {
var errMssg = "Sorry, we currently only support locations strictly within the City of Toronto.";
- return res.status(200).send({ error: errMssg });
+ return res.status(422).send({ error: errMssg });
}
// here we are guaranteed to have a valid point in Toronto