diff options
-rw-r--r-- | src/cleaners/skyblock/profile.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cleaners/skyblock/profile.ts b/src/cleaners/skyblock/profile.ts index 47e073b..0297081 100644 --- a/src/cleaners/skyblock/profile.ts +++ b/src/cleaners/skyblock/profile.ts @@ -42,7 +42,7 @@ export async function cleanSkyblockProfileResponseLighter(data: typedHypixelApi. const cleanedMembers: CleanBasicMember[] = (await Promise.all(promises)).filter(m => m) as CleanBasicMember[] return { - uuid: data.profile_id, + uuid: data.profile_id.replace(/-/g, ''), name: 'cute_name' in data ? data.cute_name : undefined, members: cleanedMembers, mode: cleanGameMode(data) @@ -114,7 +114,7 @@ export async function cleanSkyblockProfileResponse<O extends ApiOptions>( // return more detailed info const cleanFullProfile: CleanFullProfile = { - uuid: data.profile_id, + uuid: data.profile_id.replace(/-/g, ''), name: 'cute_name' in data ? data.cute_name : undefined, members: cleanedMembers, bank: cleanBank(data), |