Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

Get body requests are broken #7

Description

@soerenmeier

This code does nothing

fire-js/src/api/Api.ts

Lines 63 to 69 in efd78e4

const parseUrl = new URL(url, 'http://placeholder');
const searchParams = parseUrl.searchParams;
for (const [key, value] of Object.entries(data ?? {})) {
if (value !== undefined && value !== null)
searchParams.set(key, value);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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