Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yusefalmamari authored Sep 22, 2024
1 parent 1ac0928 commit c28718c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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_";

Expand Down

0 comments on commit c28718c

Please sign in to comment.