diff options
Diffstat (limited to 'lib/register.js')
| -rw-r--r-- | lib/register.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/register.js b/lib/register.js index d222a363..ccf6d902 100644 --- a/lib/register.js +++ b/lib/register.js @@ -29,8 +29,8 @@ export default async (user, ip, requireChallenge) => { try { let { location: { - country: { code } - } + country: { code }, + }, } = await got( `https://api.ipregistry.co/${ip}?key=${config.ipregistry}&fields=location.country.code` ).json(); |
