Skip to content

Scheduling infrastructure for absolutely everyone.

Zomars/fixes stripe portal redirect (#808)

Omar López230c82e316d8
diff --git a/ee/pages/api/integrations/stripepayment/portal.ts b/ee/pages/api/integrations/stripepayment/portal.ts
index fb47f42c070..17c68085c8c 100644
--- a/ee/pages/api/integrations/stripepayment/portal.ts
+++ b/ee/pages/api/integrations/stripepayment/portal.ts
@@ -54,6 +54,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
return_url,
});
- res.redirect(stripeSession.url);
+ res.redirect(302, stripeSession.url);
}
}