summary refs log tree commit diff
path: root/gateway/src/util/SessionUtils.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-20 14:16:26 -0400
committerGitHub <noreply@github.com>2021-10-20 14:16:26 -0400
commit00fd55ed772b2afe5fdefe1e5395c29f15fc914f (patch)
treed97f134505a08d4930b70d459b2f1517c539ccfa /gateway/src/util/SessionUtils.ts
parentMerge branch 'master' of http://github.com/fosscord/fosscord-server (diff)
parentreplaced space with tabs (diff)
downloadserver-00fd55ed772b2afe5fdefe1e5395c29f15fc914f.tar.xz
Merge pull request #490 from developomp/master
Prettier format and link simplification
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(""); }