Skip to content

setCookies doesn't work with new version tough-cookie #110

@cogor

Description

@cogor

I saving cookies via getCookies() function
When I try to restore then, I getting an error "Error: First argument to setCookie must be a Cookie object or string"
I downgraded version of tough-cookie to 4.1.2(was v5.0.0) and now it works well

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions