misc: removed max in schema for api layer

This commit is contained in:
Sheen Capadngan
2024-06-26 23:17:31 +08:00
parent a1d01d5cbd
commit e0a6f09b5e

View File

@@ -383,7 +383,7 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
workspaceSlug: z.string().trim()
}),
body: z.object({
auditLogsRetentionDays: z.number().min(1).max(100)
auditLogsRetentionDays: z.number().min(0)
}),
response: {
200: z.object({