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.tsx

Kiran K447d60adcd94
diff --git a/apps/web/app/(ee)/api/partner-profile/payouts/[payoutId]/invoice/route.tsx b/apps/web/app/(ee)/api/partner-profile/payouts/[payoutId]/invoice/route.tsx
index 88542e798d..ddda0f1483 100644
--- a/apps/web/app/(ee)/api/partner-profile/payouts/[payoutId]/invoice/route.tsx
+++ b/apps/web/app/(ee)/api/partner-profile/payouts/[payoutId]/invoice/route.tsx
@@ -24,7 +24,7 @@ const tw = createTw({
});
// GET /api/partner-profile/payouts/[payoutId]/invoice - get the invoice for a payout
-export const GET = withPartnerProfile(async ({ partner, session, params }) => {
+export const GET = withPartnerProfile(async ({ partner, params }) => {
const { payoutId } = params;
const payout = await prisma.payout.findUniqueOrThrow({