Skip to content

Commit

Permalink
Update buildSkyBlockProfiles.js
Browse files Browse the repository at this point in the history
Added **const** to returnedProfile so it is declared to be local.
  • Loading branch information
SomeRandom-WhoLikesCode authored and ChristianDobbie committed Jan 10, 2022
1 parent b9588aa commit bd133ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/buildSkyBlockProfiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async function buildProfile(uuid, id = null) {
}

// eslint-disable-next-line arrow-body-style
returnedProfile = await cachedFunction(`skyblock_profile:${profile_id}`, async () => {
const returnedProfile = await cachedFunction(`skyblock_profile:${profile_id}`, async () => {
// insertSkyBlockProfile(profile);

return getProfileData(profile_id);
Expand Down

0 comments on commit bd133ac

Please sign in to comment.