pull/885/head
Nisarg 2021-10-11 10:12:35 -07:00
parent bc0e83879e
commit 065984f8f7
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ export async function getLocation(req, ip) {
} }
const result = await geoip.lookup(ip); const result = await geoip.lookup(ip);
console.log(result);
return { return {
country: result?.country, country: result?.country,