diff --git a/api/src/processing/cookie/manager.js b/api/src/processing/cookie/manager.js index 5ea3f6ca..275f5b96 100644 --- a/api/src/processing/cookie/manager.js +++ b/api/src/processing/cookie/manager.js @@ -85,7 +85,7 @@ export function updateCookieValues(cookie, values) { let changed = false; for (const [ key, value ] of Object.entries(values)) { - changed ||= cookie.set(key, value); + changed = cookie.set(key, value) || changed; } if (changed) {