1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 10:52:31 +01:00

Merge pull request #530 from erkinalp/patch-3

This commit is contained in:
Samuel 2021-11-30 20:12:54 +01:00 committed by GitHub
commit f0edc2f05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export function snowflakeBasedInvite() {
let str = "";
for (let i=0; i < 10; i++) {
str += chars.charAt(BigInt.asUintN(snowflake % base));
str.concat(chars.charAt(Number(snowflake % base)));
snowflake = snowflake / base;
}