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.

missed a spot

Steven Tey1fc770a043b2
diff --git a/apps/web/lib/auth/index.ts b/apps/web/lib/auth/index.ts
index 77d8683eff..7c257df47d 100644
--- a/apps/web/lib/auth/index.ts
+++ b/apps/web/lib/auth/index.ts
@@ -122,7 +122,7 @@ export const withAuth = (
// for /api/links (POST /api/links) – allow no session (but warn if user provides apiKey)
if (allowAnonymous && !apiKey) {
// @ts-expect-error
- return handler({
+ return await handler({
req,
params: params || {},
searchParams,