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 route.ts

Kiran K0a0f1984ac79
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/users/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/users/route.ts
index 1bda5591c6..fb6f886ccd 100644
--- a/apps/web/app/api/workspaces/[idOrSlug]/users/route.ts
+++ b/apps/web/app/api/workspaces/[idOrSlug]/users/route.ts
@@ -42,7 +42,7 @@ export const GET = withWorkspace(
},
where: {
lastUsed: {
- gte: new Date(Date.now() - 30 * 24 * 60 * 60 * 1000), // tokens used in the last 30 days
+ not: null,
},
},
},