Skip to content

Commit bd27efc

Browse files
committed
Switch to Rack::JSONBodyParser
instead of deprecated PostBodyContentTypeParser
1 parent 711a2e5 commit bd27efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.ru

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if env == :production && ENV.key?('SENTRY_DSN')
1818
end
1919

2020
# automatically parse json in the body
21-
use Rack::PostBodyContentTypeParser
21+
use Rack::JSONBodyParser
2222

2323
require 'will_paginate/sequel'
2424
Sequel::Database.extension(:pagination, :pg_json)

0 commit comments

Comments
 (0)