Skip to content

Update instances of unprocessable_entity to conform to rack #7

@stevieing

Description

@stevieing

Describe the Housekeeping
s a developer (Ben) I would like to update instances of unprocessable_entity to unprocessable_content to conform to Rack. Currently we get warning messages when running rspec locally related to json-api-resources unprocessble_entity deprecation warnings.
You should also update traction-ui references to unprocessable entity to unprocessable content if related.

To consider this complete there should be no warnings for unprocessable entity deprecation in the rspec test output.

sanger-jsonapi-resources-0.2.1/lib/jsonapi/error.rb:20: warning: Status code :unprocessable_entity is deprecated and will be removed in a future version of Rack. Please use :unprocessable_content instead.

Blocking issues
Describe any other issues or tickets that may be blocking this change.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions