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
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-03-11 15:01:43 +00:00
1 parent b1bcbe9dfb
commit b7c5cfcf02
9 files changed
+283 -21

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
import { v4 as uuidv4 } from "uuid";
export function randomString() {
return uuidv4().replace(/-/g, "");
export function randomString(length?: number) {
const string = uuidv4().replace(/-/g, "");
return length ? string.substring(0, length) : string;
}