aboutsummaryrefslogtreecommitdiff
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
parent042ea397d60f0586cba8a75c8fce3b697a3e070c (diff)
downloadskyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.tar.gz
skyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.tar.bz2
skyblock-api-22dc96ae11cc3a51007f94eaa4bab4e1e594d267.zip
undash ashcon uuids for consistency
-rw-r--r--build/mojang.js2
-rw-r--r--src/mojang.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/mojang.js b/build/mojang.js
index 7994cee..934b14f 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -87,7 +87,7 @@ async function profileFromUsernameAlternative(username) {
return { uuid: null, username: null };
}
return {
- uuid: data.uuid,
+ uuid: util_1.undashUuid(data.uuid),
username: data.username
};
}
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
}
}