Skip to content

401 result from server throw a simple error instead of the usual error #71

@olivierchatry

Description

@olivierchatry

When a request is not authorized, the server throw a simple error :
https://github.com/holidayextras/jsonapi-client/blob/master/lib/Transport.js#L55

It should be sending the usual error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions