record text region

This commit is contained in:
Ian Webster 2014-03-20 11:09:50 -07:00
parent 7ada2e013a
commit 9e0a2a321a

2
app.js
View File

@ -114,7 +114,7 @@ function textRequestHandler(req, res, number, region) {
res.send({success:false,message:'Communication with SMS gateway failed.'});
}
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});
}
});