Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update rewards.ts

Kiran K7e1e35310034
diff --git a/apps/web/lib/zod/schemas/rewards.ts b/apps/web/lib/zod/schemas/rewards.ts
index 643e643fb9..8471580123 100644
--- a/apps/web/lib/zod/schemas/rewards.ts
+++ b/apps/web/lib/zod/schemas/rewards.ts
@@ -25,7 +25,7 @@ export const RewardSchema = z.object({
maxDuration: z.number().nullish(),
maxAmount: z.number().nullish(),
default: z.boolean(),
- modifiers: z.any(), // TODO: Fix this
+ modifiers: z.any().nullish(), // TODO: Fix this
});
export const createOrUpdateRewardSchema = z.object({