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

Kiran K33c6f3f4197e
diff --git a/apps/web/app/(ee)/api/partner-profile/payouts/settings/route.ts b/apps/web/app/(ee)/api/partner-profile/payouts/settings/route.ts
index 3b29e27a10..8ef7fdc4d5 100644
--- a/apps/web/app/(ee)/api/partner-profile/payouts/settings/route.ts
+++ b/apps/web/app/(ee)/api/partner-profile/payouts/settings/route.ts
@@ -12,7 +12,7 @@ const response = z
.nullable();
// GET /api/partner-profile/payouts/settings
-export const GET = withPartnerProfile(async ({ partner, partnerUser }) => {
+export const GET = withPartnerProfile(async ({ partner }) => {
if (!partner.stripeConnectId) {
return NextResponse.json({});
}