fix: Offset is required but not passed everywhere, default to zero. (#20917)

This commit is contained in:
Alex van Andel
2025-04-24 16:46:19 +01:00
committed by GitHub
parent d21f7ccbc8
commit 879ae597be
@@ -18,7 +18,7 @@ export const ZGetInputSchema = z.object({
beforeCreatedDate: z.string().optional(),
}),
limit: z.number().min(1).max(100),
offset: z.number(),
offset: z.number().default(0),
});
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;