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.

fix import logs link

Steven Teyac92db0fdc83
diff --git a/packages/email/src/templates/program-imported.tsx b/packages/email/src/templates/program-imported.tsx
index 5ef7a433bb..807cafd87c 100644
--- a/packages/email/src/templates/program-imported.tsx
+++ b/packages/email/src/templates/program-imported.tsx
@@ -63,7 +63,7 @@ export default function ProgramImported({
<Text className="mt-4 text-sm leading-6 text-black">
You can{" "}
<Link
- href={`https://app.dub.co/api/${workspace.slug}/import/${importId}/download`}
+ href={`https://app.dub.co/api/workspaces/${workspace.slug}/import/${importId}/download`}
className="font-medium text-blue-600 no-underline"
target="_blank"
rel="noopener noreferrer"
diff --git a/pipes/get_lead_events.pipe b/pipes/get_lead_events.pipe
new file mode 100644
index 0000000000..ab50fe7b18
--- /dev/null
+++ b/pipes/get_lead_events.pipe
@@ -0,0 +1,16 @@
+TOKEN "get_lead_events_endpoint_read_0995" READ
+
+NODE endpoint
+SQL >
+
+ %
+ SELECT *
+ FROM dub_lead_events
+ WHERE
+ true
+ {% if defined(customerIds) %} AND customer_id IN {{ Array(customerIds, 'String') }} {% end %}
+ ORDER BY timestamp DESC
+
+TYPE endpoint
+
+