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.

change to ["body", "nextUrl"]

Steven Tey8c090d0c2521
diff --git a/apps/web/lib/auth/partner.ts b/apps/web/lib/auth/partner.ts
index 11fad13145..da13a3ccfb 100644
--- a/apps/web/lib/auth/partner.ts
+++ b/apps/web/lib/auth/partner.ts
@@ -94,7 +94,7 @@ export const withPartner = (handler: WithPartnerHandler, {}: {} = {}) => {
}
},
{
- logRequestDetails: true,
+ logRequestDetails: ["body", "nextUrl"],
},
);
};
diff --git a/apps/web/lib/auth/session.ts b/apps/web/lib/auth/session.ts
index 082b9993e2..1b70263608 100644
--- a/apps/web/lib/auth/session.ts
+++ b/apps/web/lib/auth/session.ts
@@ -120,6 +120,6 @@ export const withSession = (handler: WithSessionHandler) =>
}
},
{
- logRequestDetails: true,
+ logRequestDetails: ["body", "nextUrl"],
},
);
diff --git a/apps/web/lib/auth/workspace-edge.ts b/apps/web/lib/auth/workspace-edge.ts
index c9615afb98..441c43019e 100644
--- a/apps/web/lib/auth/workspace-edge.ts
+++ b/apps/web/lib/auth/workspace-edge.ts
@@ -419,7 +419,7 @@ export const withWorkspaceEdge = (
}
},
{
- logRequestDetails: true,
+ logRequestDetails: ["body", "nextUrl"],
},
);
};
diff --git a/apps/web/lib/auth/workspace.ts b/apps/web/lib/auth/workspace.ts
index 95aba00047..10957cf329 100644
--- a/apps/web/lib/auth/workspace.ts
+++ b/apps/web/lib/auth/workspace.ts
@@ -398,7 +398,7 @@ export const withWorkspace = (
}
},
{
- logRequestDetails: true,
+ logRequestDetails: ["body", "nextUrl"],
},
);
};