The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update get_lead_event.pipe
Kiran Kc9187e288638
diff --git a/packages/tinybird/pipes/get_lead_event.pipe b/packages/tinybird/pipes/get_lead_event.pipeindex 46b4fb9ce6..d31ce0114f 100644--- a/packages/tinybird/pipes/get_lead_event.pipe+++ b/packages/tinybird/pipes/get_lead_event.pipe@@ -10,18 +10,18 @@ DESCRIPTION >SQL >- %- SELECT *- FROM dub_lead_events- WHERE- customer_id- = {{- String(- customerId,- "Otgts60IekQ17PMZ",- description="The unique ID for a given customer.",- required=True,- )- }}--+%+SELECT *+FROM dub_lead_events+WHERE+ customer_id+ = {{+ String(+ customerId,+ "cus_oC2X6GnlJm54w33Rb65hCMX4",+ description="The unique ID for a given customer.",+ required=True,+ )+ }}+ {% if defined(eventName) %} AND event_name = {{ eventName }} {% end %}+ORDER BY timestamp DESC\ No newline at end of file