AAAA
This commit is contained in:
parent
ce027a8a30
commit
10322fefcc
2
index.js
2
index.js
|
|
@ -894,6 +894,8 @@ app.get('/api/v1/route/:apiKey/:ani/:number', (req, res) => {
|
|||
addAnalytic("estCallsMade");
|
||||
dailyAnalytic("dailyCallsMade");
|
||||
console.log(row);
|
||||
console.log(`ANI: ${ani}, Block Start: ${row.block_start}, Block End: ${row.block_start + row.block_length}`);
|
||||
console.log(ani >= row.block_start && ani <= row.block_start + row.block_length);
|
||||
if (ani >= row.block_start && ani <= row.block_start + row.block_length) {
|
||||
res.status(200).send('local');
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue