Files
calendar/apps/api/v2/test/utils/randomString.ts
T
Lauris SkraucisandGitHub b7c5cfcf02 feat: v2 get managed users by email (#19526)
* feat: v2 get managed users by email

* docs

* fix: offset query param not showing up in docs

* finish merge main

* fix: check if each email in emails query param is email
2025-03-11 15:01:43 +00:00

7 lines
189 B
TypeScript

import { v4 as uuidv4 } from "uuid";
export function randomString(length?: number) {
const string = uuidv4().replace(/-/g, "");
return length ? string.substring(0, length) : string;
}