The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
reduce withPartnerProfile rate limit
Steven Tey819a13f5ace6
diff --git a/apps/web/lib/auth/partner.ts b/apps/web/lib/auth/partner.tsindex 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({