Fix RequestLogger middleware to handle Grape 2.4 breaking chnage

This commit is contained in:
Cedric Darricau 2025-06-19 11:50:27 +02:00 committed by Sami Samhuri
parent 5a9ef5d801
commit a20d392807
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ module GrapeLogging
attr_accessor :response_status, :response_body
def initialize(app, options = {})
super
super(app, **options)
@included_loggers = @options[:include] || []
@reporter =