Skip to content

[TRI-1791] client.getRuns() doesn't return runs if you pass cursor: undefined. #804

@matt-aitken

Description

@matt-aitken

The issue is with this code:

urlObj.searchParams.append(key, String(value));

It doesn't check in the loop for undefined, and string(undefined) evaluates to "undefined" which obviously isn't a valid cursor.

It should do an undefined check in the loop and continue.

TRI-1791

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions