We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f748070 commit 57df790Copy full SHA for 57df790
src/routes/discord.js
@@ -50,7 +50,7 @@ router.get('/callback', catchAsyncErrors(async (req, res) => {
50
const ip = req.headers['cf-connecting-ip'] || ((req.headers['x-forwarded-for'] || '').split(', ')[0]) || (req.connection.remoteAddress || req.connection.localAddress).match('[0-9]+.[0-9].+[0-9]+.[0-9]+$')[0];
51
const url = `http://ip-api.com/json/${ip}?fields=66846719&lang=${config.locale || 'en'}`;
52
const geoResponse = await axios.get(url);
53
- const geo = await geoResponse.data;
+ const geo = geoResponse.data;
54
const embed = {
55
color: 0xFF0000,
56
title: 'Failure',
0 commit comments