Remove arbitrary max 50 limit from email whitelist

Fix #3568
This commit is contained in:
Owen
2026-08-12 09:11:10 -04:00
parent 02e4fe8b48
commit 295e38d2af
5 changed files with 1 additions and 5 deletions
@@ -19,7 +19,6 @@ const setResourcePolicyWhitelistBodySchema = z.strictObject({
})
)
)
.max(50)
.transform((v) => v.map((e) => e.toLowerCase()))
});
@@ -24,7 +24,6 @@ const setResourceWhitelistBodySchema = z.strictObject({
})
)
)
.max(50)
.transform((v) => v.map((e) => e.toLowerCase()))
});
+1 -1
View File
@@ -107,7 +107,7 @@ const listUsersSchema = z.strictObject({
.filter((n) => Number.isInteger(n) && n > 0);
const unique = [...new Set(nums)];
return unique.length ? unique : undefined;
}, z.array(z.number().int().positive()).max(50).optional())
}, z.array(z.number().int().positive()).optional())
.openapi({
description:
"Filter users who have any of these role ids in the organization (repeat query param)"