Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-NCSU authored Oct 16, 2022
1 parent e8628d7 commit 86876e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 86876e2

Please sign in to comment.