mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: Fix invalid constant after upgrading lograge to 0.11.0.
This commit is contained in:
parent
1d784c7a18
commit
0f5161af19
|
@ -108,7 +108,7 @@ module Hijack
|
||||||
db_runtime = timings[:sql][:duration]
|
db_runtime = timings[:sql][:duration]
|
||||||
end
|
end
|
||||||
|
|
||||||
subscriber = Lograge::RequestLogSubscriber.new
|
subscriber = Lograge::Lograge::LogSubscribers::ActionController.new
|
||||||
payload = ActiveSupport::HashWithIndifferentAccess.new(
|
payload = ActiveSupport::HashWithIndifferentAccess.new(
|
||||||
controller: self.class.name,
|
controller: self.class.name,
|
||||||
action: action_name,
|
action: action_name,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user