From 86876e2c3f7504666cc431ad9c323333852474f8 Mon Sep 17 00:00:00 2001 From: Nick Thompson <65097490+Nick-NCSU@users.noreply.github.com> Date: Sun, 16 Oct 2022 16:49:54 -0400 Subject: [PATCH] Update index.js --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 57d3bcc..decbfca 100644 --- a/index.js +++ b/index.js @@ -186,8 +186,9 @@ exports.fetchMojang = async function limitMojangFetch(text) { exports.fetchHypixel = async function limitHypixelFetch(text) { await hypixelLimiter.removePoints(1); - const data = await fetch(text); - return await data.json(); + const response = await fetch(text); + return await response.json(); + }; function sleep(ms) {