mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-03 07:14:08 +00:00
Fix assignment incompatibility
This commit is contained in:
1 parent
2245a82aa6
commit
da53ff6c9e
1 file changed
+1
-1
@@ -24,7 +24,7 @@ export function snowflakeBasedInvite() {
|
||||
let str = "";
|
||||
for (let i=0; i < 10; i++) {
|
||||
|
||||
str += chars.charAt(snowflake % base);
|
||||
str += chars.charAt(BigInt.asUintN(snowflake % base));
|
||||
snowflake = snowflake / base;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user