do not attempt to update nonexistent cookie

This commit is contained in:
dumbmoron 2023-08-20 13:27:49 +00:00
parent dfdda06099
commit 411938b460

View file

@ -47,6 +47,8 @@ export function getCookie(service) {
}
export function updateCookie(cookie, headers) {
if (!cookie) return;
const parsed = parseSetCookie(splitCookiesString(headers.get('set-cookie'))),
values = {}