aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-02 19:34:37 -0500
committermat <github@matdoes.dev>2021-06-02 19:34:37 -0500
commit22dc96ae11cc3a51007f94eaa4bab4e1e594d267 (patch)
treefcb8080592ecc1f25d3ee04aef3b5b7743da6808 /src
parent042ea397d60f0586cba8a75c8fce3b697a3e070c (diff)
downloadskyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.tar.gz
skyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.tar.bz2
skyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.zip
undash ashcon uuids for consistency
Diffstat (limited to 'src')
-rw-r--r--src/mojang.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mojang.ts b/src/mojang.ts
index 60438e8..1bc8474 100644
--- a/src/mojang.ts
+++ b/src/mojang.ts
@@ -103,7 +103,7 @@ export async function profileFromUsernameAlternative(username: string): Promise<
return { uuid: null, username: null }
}
return {
- uuid: data.uuid,
+ uuid: undashUuid(data.uuid),
username: data.username
}
}