Skip to content

Commit 2d06f60

Browse files
committedNov 21, 2024
fix(rack 3): Fixes #1456 per #1457
1 parent 190d1b3 commit 2d06f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/jsonapi/error.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def initialize(options = {})
1515
@source = options[:source]
1616
@links = options[:links]
1717

18-
@status = Rack::Utils::SYMBOL_TO_STATUS_CODE[options[:status]].to_s
18+
@status = Rack::Utils.status_code(options[:status]).to_s
1919
@meta = options[:meta]
2020
end
2121

0 commit comments

Comments
 (0)