This commit is contained in:
Nisarg 2021-10-11 10:12:35 -07:00
parent bc0e83879e
commit 065984f8f7

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,