fix: make currency field nullable in saldoSchema
This commit is contained in:
parent
84b2fc39a3
commit
c8763e9f55
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue