Permalink
Browse files

Fixed protocol bug for responses where the carrier is not supported.

  • Loading branch information...
1 parent d48b2e6 commit d773319b3231086f5833a75ef6e76c24b7ee3ce7 @pgibler pgibler committed Dec 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/app.js
View
@@ -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;
}

0 comments on commit d773319

Please sign in to comment.