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.

Merge branch 'main' into add-commission-source

Steven Tey96411729a9a7
diff --cc apps/web/lib/bounty/api/approve-bounty-submission.ts
index 253b8bd6de,a4938de56d..d99e94c686
--- a/apps/web/lib/bounty/api/approve-bounty-submission.ts
+++ b/apps/web/lib/bounty/api/approve-bounty-submission.ts
@@@ -144,8 -143,7 +144,8 @@@ export async function approveBountySubm
amount: finalRewardAmount,
quantity: 1,
userId: user.id,
+ source: CommissionSource.user,
- description: `Commission for successfully completed "${bounty.name}" bounty.`,
+ description: `Commission for successfully completing "${bounty.name}" bounty.`,
bountySubmissionId: submissionId,
});