From e99e8d2693f046449bd74c8cbdabb9bd88621a87 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 19 May 2023 20:15:32 -0500 Subject: undash in a couple more places --- src/cleaners/skyblock/profile.ts | 4 ++-- 1 file 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( // 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), -- cgit