From 92db3596545c4f4196971153654f5d938772a4a5 Mon Sep 17 00:00:00 2001 From: Marie Date: Wed, 27 Nov 2024 19:26:56 +0000 Subject: [PATCH] lint --- packages/backend/src/misc/secure-rndstr.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/misc/secure-rndstr.ts b/packages/backend/src/misc/secure-rndstr.ts index 709e584ccb..1fa686c0dd 100644 --- a/packages/backend/src/misc/secure-rndstr.ts +++ b/packages/backend/src/misc/secure-rndstr.ts @@ -14,8 +14,8 @@ export function secureRndstr(length = 32, { chars = LU_CHARS } = {}): string { let str = ''; for (let i = 0; i < length; i++) { - const rand = crypto.randomInt(0, chars_len); - str += chars.charAt(rand); + const rand = crypto.randomInt(0, chars_len); + str += chars.charAt(rand); } return str;