1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 19:02:33 +01:00

Fix assignment incompatibility

This commit is contained in:
Erkin Alp Güney 2021-11-30 21:30:01 +03:00 committed by GitHub
parent c0b020e34a
commit 215f876bb2

View File

@ -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;
}