record text region
This commit is contained in:
parent
7ada2e013a
commit
9e0a2a321a
2
app.js
2
app.js
@ -114,7 +114,7 @@ function textRequestHandler(req, res, number, region) {
|
|||||||
res.send({success:false,message:'Communication with SMS gateway failed.'});
|
res.send({success:false,message:'Communication with SMS gateway failed.'});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mpq.track('sendText success', {number: req.body.number, message: req.body.message, ip: ip});
|
mpq.track('sendText success', {number: req.body.number, message: req.body.message, ip: ip, region: region});
|
||||||
res.send({success:true});
|
res.send({success:true});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user