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

Kiran K33ea192c5ba5
diff --git a/apps/web/lib/auth/workspace.ts b/apps/web/lib/auth/workspace.ts
index 54f45e895e..e4945fea1d 100644
--- a/apps/web/lib/auth/workspace.ts
+++ b/apps/web/lib/auth/workspace.ts
@@ -242,7 +242,7 @@ export const withWorkspace = (
}
const { success, headers } = await rateLimitRequest({
- identifier: `workspace:ratelimit:${apiKey}`,
+ identifier: `workspace:ratelimit:${hashedKey}`,
requests: limit,
interval,
});