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 execute-send-campaign-workflow.ts

Kiran Kc4d78021a07b
diff --git a/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts b/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts
index ff5fcde1e7..d04462fbca 100644
--- a/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts
+++ b/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts
@@ -141,7 +141,7 @@ export const executeSendCampaignWorkflow = async ({
text: renderEmailTemplate({
template: campaign.body,
variables: {
- name: partnerUser.name,
+ name: partnerUser.partner.name,
},
}),
tags: [{ name: "type", value: "notification-email" }],