From 7709c1efde9a1f3078171ee56985cd25511d6f7b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 1 Dec 2023 11:36:35 -0800 Subject: biome formatter --- lib/register.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/register.js') diff --git a/lib/register.js b/lib/register.js index c52dad03..2459d3a8 100644 --- a/lib/register.js +++ b/lib/register.js @@ -28,9 +28,7 @@ export default async (user, ip, requireChallenge) => { if (config.ipregistry) { try { let { - location: { - country: { code } - } + location: { country: { code } } } = await got( `https://api.ipregistry.co/${ip}?key=${config.ipregistry}&fields=location.country.code` ).json(); -- cgit v1.2.3