fix: make currency field nullable in saldoSchema

This commit is contained in:
Marco Pedone 2026-04-03 19:24:18 +02:00
parent 84b2fc39a3
commit c8763e9f55

View file

@ -199,7 +199,7 @@ const movimentiSchema = z.object({
}); });
const saldoSchema = z.object({ const saldoSchema = z.object({
category: z.string(), category: z.string(),
currency: z.string(), currency: z.string().nullable(),
description: z.string(), description: z.string(),
net_amount: z.number(), net_amount: z.number(),
}); });