CookieJS doesn't add cookies, when in an object
Infiniti20 opened this issue · 2 comments
Infiniti20 commented
cookie.set({uuid:product.uuid, quant:quant, sDate:startDate, eDate:endDate })
doesn't work, for some reason. It works individually, if you do it like this: cookie.set({uuid:product.uuid})
, but otherwise it fails silently without an error. Some of my fields are integers, but individually, it auto typecasts, so I don't think that's the problem.
florian commented
How comes you directly closed this? Does it actually work?
… On Jul 6, 2021, at 5:11 PM, Infiniti20 ***@***.***> wrote:
Closed #58 <#58>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAL57DE7JARCITOAR7YYBMTTWMMKDANCNFSM474YO33Q>.
Infiniti20 commented
Yeah, turns out it wasn't executing the instructions, due to a rogue function call.