The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update apps/web/lib/integrations/hubspot/track-lead.ts
Kiran Kcb569480cb18
diff --git a/apps/web/lib/integrations/hubspot/track-lead.ts b/apps/web/lib/integrations/hubspot/track-lead.tsindex aa85758cb8..b2d86107c2 100644--- a/apps/web/lib/integrations/hubspot/track-lead.ts+++ b/apps/web/lib/integrations/hubspot/track-lead.ts@@ -17,10 +17,6 @@ export const trackHubSpotLeadEvent = async ({const { objectId, objectTypeId, subscriptionType } =hubSpotLeadEventSchema.parse(payload);- if (subscriptionType !== "object.creation") {- return;- }-// A new contact is created (deferred lead tracking)if (objectTypeId === "0-1") {const contact = await getHubSpotContact({