aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/profiles.ts
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-05-19 20:13:14 -0500
committermat <git@matdoes.dev>2023-05-19 20:13:14 -0500
commit48ef05ffc70587586178c7c764e14b7742d74806 (patch)
tree8af50b65d731aa1305d9f9cee7e79fb1fb04e5e7 /src/cleaners/skyblock/profiles.ts
parent58fc378174faf11391885281759caa39d9b324cc (diff)
downloadskyblock-api-48ef05ffc70587586178c7c764e14b7742d74806.tar.gz
skyblock-api-48ef05ffc70587586178c7c764e14b7742d74806.tar.bz2
skyblock-api-48ef05ffc70587586178c7c764e14b7742d74806.zip
undash profile uuid
Diffstat (limited to 'src/cleaners/skyblock/profiles.ts')
-rw-r--r--src/cleaners/skyblock/profiles.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/profiles.ts b/src/cleaners/skyblock/profiles.ts
index da40ee3..fbf6dc7 100644
--- a/src/cleaners/skyblock/profiles.ts
+++ b/src/cleaners/skyblock/profiles.ts
@@ -13,7 +13,7 @@ export function cleanPlayerSkyblockProfiles(rawProfiles: HypixelPlayerStatsSkyBl
let profiles: CleanBasicProfile[] = []
for (const profile of Object.values(rawProfiles ?? {})) {
profiles.push({
- uuid: profile.profile_id,
+ uuid: profile.profile_id.replace(/-/g, ''),
name: profile.cute_name
})
}