From d773319b3231086f5833a75ef6e76c24b7ee3ce7 Mon Sep 17 00:00:00 2001 From: Paul Gibler Date: Sun, 11 Dec 2016 15:48:30 -0500 Subject: [PATCH] Fixed protocol bug for responses where the carrier is not supported. --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 7cac889..29fd0db 100644 --- a/server/app.js +++ b/server/app.js @@ -125,7 +125,7 @@ function textRequestHandler(req, res, number, carrier, region, key) { if (carrier != null) { carrier = carrier.toLowerCase(); if (carriers[carrier] == null) { - res.send({succes:false, message:'Carrier ' + carrier + ' not supported! POST getcarriers=1 to ' + res.send({success:false, message:'Carrier ' + carrier + ' not supported! POST getcarriers=1 to ' + 'get a list of supported carriers'}); return; }