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 Ka9e499487996
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 9a162580a0..ff5fcde1e7 100644
--- a/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts
+++ b/apps/web/lib/api/workflows/execute-send-campaign-workflow.ts
@@ -138,7 +138,7 @@ export const executeSendCampaignWorkflow = async ({
variant: "notifications",
to: partnerUser.email!,
subject: campaign.subject,
- react: renderEmailTemplate({
+ text: renderEmailTemplate({
template: campaign.body,
variables: {
name: partnerUser.name,