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.

missed another spot

Steven Teyfd3c8b0188fa
diff --git a/apps/web/lib/actions/partners/create-bounty-submission.ts b/apps/web/lib/actions/partners/create-bounty-submission.ts
index 0f8c5631a2..8df93563f3 100644
--- a/apps/web/lib/actions/partners/create-bounty-submission.ts
+++ b/apps/web/lib/actions/partners/create-bounty-submission.ts
@@ -215,6 +215,7 @@ export const createBountySubmissionAction = authPartnerActionClient
name: bounty.name,
},
partner: {
+ id: partner.id,
name: partner.name,
image: partner.image,
email: partner.email!,
diff --git a/apps/web/lib/api/workflows/execute-complete-bounty-workflow.ts b/apps/web/lib/api/workflows/execute-complete-bounty-workflow.ts
index 2b7386c71c..ed888e1e49 100644
--- a/apps/web/lib/api/workflows/execute-complete-bounty-workflow.ts
+++ b/apps/web/lib/api/workflows/execute-complete-bounty-workflow.ts
@@ -220,6 +220,7 @@ export const executeCompleteBountyWorkflow = async ({
name: bounty.name,
},
partner: {
+ id: partner.id,
name: partner.name,
image: partner.image,
email: partner.email!,
diff --git a/packages/email/src/templates/bounty-new-submission.tsx b/packages/email/src/templates/bounty-new-submission.tsx
index b3cef9f3fd..735c6df08d 100644
--- a/packages/email/src/templates/bounty-new-submission.tsx
+++ b/packages/email/src/templates/bounty-new-submission.tsx
@@ -23,6 +23,7 @@ export default function NewBountySubmission({
name: "Promote Acme at your campus and earn $500 ",
},
partner = {
+ id: "pn_1K38JQ6DAGD1HHP30T4SX9HKG",
name: "John Doe",
image:
"https://dubassets.com/partners/pn_H4TB2V5hDIjpqB7PwrxESoY3/image_wCBZlIJ",
@@ -41,6 +42,7 @@ export default function NewBountySubmission({
name: string;
};
partner: {
+ id: string;
name: string;
image: string | null;
email: string;