Skip to content

Commit d14f4ff

Browse files
authored
fix: values come as undefined now. (#3403)
1 parent caa738d commit d14f4ff

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/common/paddle/recruiter/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export const recruiterPaddleCustomDataSchema = z.object({
77

88
export const recruiterPaddlePricingCustomDataSchema = z.object({
99
batch_size: z.coerce.number().nonnegative().max(10_000),
10-
reminders: z.boolean(),
11-
show_slack: z.boolean(),
10+
reminders: z.boolean().nullish(),
11+
show_slack: z.boolean().nullish(),
1212
});

src/entity/opportunities/Opportunity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export type OpportunityFlags = Partial<{
3131
};
3232
batchSize: number;
3333
plan: string;
34-
reminders: boolean;
35-
showSlack: boolean;
34+
reminders: boolean | null;
35+
showSlack: boolean | null;
3636
}>;
3737

3838
export type OpportunityFlagsPublic = Pick<

0 commit comments

Comments
 (0)