DEPRECATION WARNING: Rails 6.1 will return Content-Type header without modification. If you want just the MIME type, please use #media_type instead. (called from block in add_renderer! /xxxxx/vendor/cache/jsonapi.rb-b69123b0aa03/lib/jsonapi/rails.rb:93)
DEPRECATION WARNING: Rails 6.1 will return Content-Type header without modification. If you want just the MIME type, please use #media_type instead. (called from block in add_errors_renderer! at /xxxxx/vendor/cache/jsonapi.rb-b69123b0aa03/lib/jsonapi/rails.rb:40)
What is the new behavior?
No warnings
Checklist
Please make sure the following requirements are complete:
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes /
features)
What is the current behavior?
#media_type
instead. (called from block in add_renderer! /xxxxx/vendor/cache/jsonapi.rb-b69123b0aa03/lib/jsonapi/rails.rb:93)#media_type
instead. (called from block in add_errors_renderer! at /xxxxx/vendor/cache/jsonapi.rb-b69123b0aa03/lib/jsonapi/rails.rb:40)What is the new behavior?
No warnings
Checklist
Please make sure the following requirements are complete: