migrate to zod v4

This commit is contained in:
Bernd Storath
2025-07-14 08:19:23 +02:00
parent 984dc95550
commit 6326ee31c4
2 changed files with 3 additions and 3 deletions
@@ -71,7 +71,7 @@ export const ClientUpdateSchema = schemaForType<UpdateClientType>()(
);
// TODO: investigate if coerce is bad
const clientId = z.number({ message: t('zod.client.id'), coerce: true });
const clientId = z.coerce.number({ message: t('zod.client.id') });
export const ClientGetSchema = z.object({
clientId: clientId,