Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
silvicir committed May 17, 2024
1 parent ee36e1b commit 1ae04ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/warm-waves-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"io-sign-backoffice-func": patch
"@io-sign/io-sign": patch
---

Set vatNumber in sc-contracts as nullish
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const contractSchema = z.object({
}),
billing: z
.object({
vatNumber: z.string().min(1).optional(),
vatNumber: z.string().min(1).nullish(),
})
.optional(),
product: z.literal("prod-io-sign"),
Expand Down
2 changes: 1 addition & 1 deletion packages/io-sign/src/institution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const onboardingSchema = z.object({
status: z.string().min(1),
billing: z
.object({
vatNumber: z.string().min(1).optional(),
vatNumber: z.string().min(1).nullish(),
})
.optional(),
});
Expand Down

0 comments on commit 1ae04ae

Please sign in to comment.