Skip to content

deleteUser should handle 204 No Content gracefully #10

Description

@ckknight

If the Content-Type coming back from the fetch isn't JSON, then it shouldn't be parsed as such, even if it is an "OK" response. https://github.com/mxenabled/mx-atrium-node/blob/master/index.js#L171 is the offending code.

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