From c28718ce14482a053c8d92182de55a388a4a7e3c Mon Sep 17 00:00:00 2001 From: Yusef Almamari <146590435+yusefalmamari@users.noreply.github.com> Date: Mon, 23 Sep 2024 00:01:05 +0400 Subject: [PATCH] Update utils.ts --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index d167984..e248d2c 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -7,7 +7,7 @@ * @param {number} length - The desired length of the unique ID. * @returns {string} A unique identifier of the specified length. */ -export function uid(length: number = 20): string { +export function uid(length: number = 16): string { const POOL_SIZE_MULTIPLIER = 128; const ALLOWED_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";