1
0
mirror of https://github.com/vercel/commerce.git synced 2025-06-06 08:16:59 +00:00

Fix BigCommerce login

This commit is contained in:
Lorenzo Stramaccia 2022-11-25 12:27:04 +01:00
parent 90aa798891
commit 0661faced9

@ -67,7 +67,7 @@ export default function loginOperation({
const newCookie = concatHeader(prevCookie, cookie)
if (newCookie) {
res.headers.set(
response.headers.set(
'Set-Cookie',
String(Array.isArray(newCookie) ? newCookie.join(',') : newCookie)
)