Skip to content

bug: API broken by Dashfetch - needs to lightly wrap each function #25

@coolaj86

Description

@coolaj86

This used to return something like:

{
  ok: true,
  statusCode: 200,
  status: "OK",
  body: textOrJson,
  headers: { "Key": "value" },
}

Now things that depended on it are broken and errors that may come from resp.json() or resp.text() will not be handled properly.

It needs to be changed back to keep API compat (and be more useful to the things that use it).

cc/ @jojobyte Changing this back will probably break some of your stuff too.

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