Skip to content

ignored cartId in cartGetDefault #3639

@OctoD

Description

@OctoD

this line should be

const cartId = cartInput.cartId ?? getCartId();

otherwise the given cartId member with cartInput object is completely ignored, getCartId may return null and exit the function early.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions