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 get-events.ts

Steven Tey13bc3bf00bed
diff --git a/apps/web/lib/analytics/get-events.ts b/apps/web/lib/analytics/get-events.ts
index 0d51783f25..e36b9f8fbe 100644
--- a/apps/web/lib/analytics/get-events.ts
+++ b/apps/web/lib/analytics/get-events.ts
@@ -70,7 +70,7 @@ export const getEvents = async (params: EventsFilters) => {
}
return null;
})
- .filter((d) => d !== null),
+ .filter(Boolean) as string[],
),
]);