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 flodesk.ts

Steven Tey7925422dcfe3
diff --git a/apps/web/lib/flodesk.ts b/apps/web/lib/flodesk.ts
index 8701aac897..08a6b84a59 100644
--- a/apps/web/lib/flodesk.ts
+++ b/apps/web/lib/flodesk.ts
@@ -14,6 +14,8 @@ export async function subscribe({
body: JSON.stringify({
email,
...(name && {
+ first_name: name.split(" ")[0],
+ last_name: name.split(" ").slice(1).join(" "),
custom_fields: {
name,
},