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 import-campaign.ts

Steven Tey4b6650342dc0
diff --git a/apps/web/lib/rewardful/import-campaign.ts b/apps/web/lib/rewardful/import-campaign.ts
index 5c6a772629..ad38e69bf3 100644
--- a/apps/web/lib/rewardful/import-campaign.ts
+++ b/apps/web/lib/rewardful/import-campaign.ts
@@ -30,7 +30,7 @@ export async function importCampaign({ programId }: { programId: string }) {
const reward = await prisma.reward.create({
data: {
- id: createId({ prefix: "rew_" }),
+ id: createId({ prefix: "rw_" }),
programId,
event: "sale",
maxDuration: max_commission_period_months,