Skip to content

Queries with array parameters doesn't work #474

Open
@Zn4rK

Description

@Zn4rK

Describe the bug
Queries with query parameters that are array based doesn't work.

It boils down to this line:

if (param.style === 'form' && typeof args[saneParamName] === 'object') {

An array is also considered an object in JavaScript. The if statement needs to be flipped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions