Fixed protocol bug for responses where the carrier is not supported.
This commit is contained in:
parent
d48b2e67a9
commit
d773319b32
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user