summary refs log tree commit diff
path: root/gateway/src/util/SessionUtils.ts
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-24 18:13:51 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-24 18:13:51 +0300
commit537da73d3858d123ea4b15fe77342b6a2ba61969 (patch)
tree5a5926092301c12f0e55bbff170934fff2dd94a6 /gateway/src/util/SessionUtils.ts
parentFormat the file (diff)
parentMerge pull request #492 from fosscord/translation (diff)
downloadserver-537da73d3858d123ea4b15fe77342b6a2ba61969.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-server
Diffstat (limited to '')
-rw-r--r--gateway/src/util/SessionUtils.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/gateway/src/util/SessionUtils.ts b/gateway/src/util/SessionUtils.ts

index c66c7e76..bf854042 100644 --- a/gateway/src/util/SessionUtils.ts +++ b/gateway/src/util/SessionUtils.ts
@@ -7,5 +7,7 @@ export function genVoiceToken() { } function genRanHex(size: number) { - return [...Array(size)].map(() => Math.floor(Math.random() * 16).toString(16)).join(""); + return [...Array(size)] + .map(() => Math.floor(Math.random() * 16).toString(16)) + .join(""); }