Zomars/fixes stripe portal redirect (#808)

pull/568/head^2
Omar López 2021-09-28 10:21:45 -06:00 committed by GitHub
parent b8c4dfb9e1
commit 230c82e316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,6 +54,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
return_url,
});
res.redirect(stripeSession.url);
res.redirect(302, stripeSession.url);
}
}