Permalink
Browse files

Merge pull request #100 from pgibler/master

Fixed protocol bug for responses where the carrier is not supported.
  • Loading branch information...
2 parents d48b2e6 + d773319 commit 5dab810b236147f212519a5b8381a00c8a56ed97 @typpo committed on GitHub Dec 14, 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 5dab810

Please sign in to comment.