Skip to content

Commit eea8000

Browse files
committed
fix: hubspot deal closedate can be string
1 parent 2fd2310 commit eea8000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/hubspot/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export type HubspotContactUpdate = z.infer<
204204
const dealPropertiesSchema = z.object({
205205
amount: z.union([z.string(), z.number()]).nullable(),
206206
dealname: z.string().nullable(),
207-
closedate: custom.date().nullable(),
207+
closedate: custom.date().or(z.string()).nullable(),
208208
dealstage: z.string().nullable(),
209209
hs_deal_stage_probability: z.union([z.string(), z.number()]).nullable(),
210210
hs_projected_amount: z.union([z.string(), z.number()]).nullable(),

0 commit comments

Comments
 (0)