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.

reduce withPartnerProfile rate limit

Steven Tey819a13f5ace6
diff --git a/apps/web/lib/auth/partner.ts b/apps/web/lib/auth/partner.ts
index fdaeb277a8..51a82a2962 100644
--- a/apps/web/lib/auth/partner.ts
+++ b/apps/web/lib/auth/partner.ts
@@ -79,7 +79,7 @@ export const withPartnerProfile = (
}
// rate limit
- const { success } = await ratelimit(600, "1 m").limit(partner.id);
+ const { success } = await ratelimit(60, "1 m").limit(partner.id);
if (!success) {
throw new DubApiError({