The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update partner.ts
Kiran K2f6201981c75
diff --git a/apps/web/lib/auth/partner.ts b/apps/web/lib/auth/partner.tsindex 2f21ef63ab..2d81130c42 100644--- a/apps/web/lib/auth/partner.ts+++ b/apps/web/lib/auth/partner.ts@@ -21,7 +21,7 @@ interface WithPartnerProfileHandler {req: Request;params: Record<string, string>;searchParams: Record<string, string>;- headers?: Record<string, string>;+ headers?: Headers;session: Session;partner: Omit<PartnerProps, "role" | "userId">;partnerUser: Pick<PartnerUser, "userId" | "role">;@@ -163,6 +163,7 @@ export const withPartnerProfile = (userId: partnerUser.userId,role: partnerUser.role,},+ headers: responseHeaders,});} catch (error) {req.log.error(error);