fix(ui): resolves range error that happaned when providing a large ttl in scim

This commit is contained in:
=
2025-12-04 01:18:24 +05:30
parent aa9c125124
commit 02b29b5ae0
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export const registerScimRouter = async (server: FastifyZodProvider) => {
body: z.object({
organizationId: z.string().trim(),
description: z.string().trim().default(""),
ttlDays: z.number().min(0).default(0)
ttlDays: z.number().min(0).max(730).default(0)
}),
response: {
200: z.object({