The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update create-reward.ts
Kiran Kefb9d7eddce8
diff --git a/apps/web/lib/actions/partners/create-reward.ts b/apps/web/lib/actions/partners/create-reward.tsindex 73c8cc6a3a..761529a156 100644--- a/apps/web/lib/actions/partners/create-reward.ts+++ b/apps/web/lib/actions/partners/create-reward.ts@@ -35,8 +35,8 @@ export const createRewardAction = authActionClientif (isDefault) {const defaultReward = await prisma.reward.findFirst({where: {- event,programId,+ event,default: true,},});