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 assertValidDateRangeForPlan

Pedro Ladeira861b29476cab
diff --git a/apps/web/app/(ee)/api/events/export/route.ts b/apps/web/app/(ee)/api/events/export/route.ts
index 3eb6339ace..9e999f6b89 100644
--- a/apps/web/app/(ee)/api/events/export/route.ts
+++ b/apps/web/app/(ee)/api/events/export/route.ts
@@ -109,7 +109,7 @@ export const GET = withWorkspace(
assertValidDateRangeForPlan({
plan: workspace.plan,
- dataAvailableFrom: workspace.createdAt,
+ dataAvailableFrom,
interval,
start,
end,