fix(schema): make defaults values optional in LimitConfigGetResponse (#1184)

Signed-off-by: Hampus Kraft <[email protected]>
This commit is contained in:
Hampus authored and GitHub committed 2026-06-26 10:36:46 +02:00
1 parent 6d537ef0db
commit e43b39d630
1 file changed
+1 -1
@@ -1428,7 +1428,7 @@ export const LimitConfigGetResponse = z.object({
}),
limit_config_json: z.string(),
self_hosted: z.boolean(),
defaults: z.record(z.string(), z.record(LimitKeySchema, z.number())),
defaults: z.record(z.string(), z.record(LimitKeySchema, z.number().optional())),
metadata: z.record(LimitKeySchema, LimitKeyMetadataSchema),
categories: z.record(z.string(), z.string()),
limit_keys: z.array(z.string()),