mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-03 05:10:25 +03:00
fix(schema): make defaults values optional in LimitConfigGetResponse (#1184)
Signed-off-by: Hampus Kraft <hampus@fluxer.com>
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user