Skip to content

Commit

Permalink
fix empty string error
Browse files Browse the repository at this point in the history
make fundingGoal nullable
  • Loading branch information
goblinodds committed May 16, 2024
1 parent 0f855c7 commit 94126c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/routers/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export const projectRouter = router({
actionStart: z.date().nullable(),
actionEnd: z.date().nullable(),
paymentUrl: z.string(),
fundingGoal: z.string(),
fundingGoal: z.string().nullable(),
tags: z.string(),
}),
)
Expand Down Expand Up @@ -354,7 +354,7 @@ export const projectRouter = router({
actionStart: z.date().nullable(),
actionEnd: z.date().nullable(),
paymentUrl: z.string(),
fundingGoal: z.string(),
fundingGoal: z.string().nullable(),
tags: z.string(),
}),
}),
Expand Down

0 comments on commit 94126c1

Please sign in to comment.