Skip to content

Commit

Permalink
fix(rack 3): Fixes #1456 per #1457
Browse files Browse the repository at this point in the history
  • Loading branch information
bf4 committed Nov 21, 2024
1 parent 190d1b3 commit 2d06f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsonapi/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(options = {})
@source = options[:source]
@links = options[:links]

@status = Rack::Utils::SYMBOL_TO_STATUS_CODE[options[:status]].to_s
@status = Rack::Utils.status_code(options[:status]).to_s
@meta = options[:meta]
end

Expand Down

0 comments on commit 2d06f60

Please sign in to comment.