Skip to content

Commit

Permalink
add elasticsearch fields consistensy (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
maierru authored Jan 13, 2022
1 parent c46f946 commit 0abb167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/lograge/log_subscribers/action_cable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class ActionCable < Base

def initial_data(payload)
{
method: {},
path: {},
format: {},
method: nil,
path: nil,
format: nil,
params: payload[:data],
controller: payload[:channel_class] || payload[:connection_class],
action: payload[:action]
Expand Down

0 comments on commit 0abb167

Please sign in to comment.