We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fddc811 commit 873b203Copy full SHA for 873b203
lib/stream_rails/activity.rb
@@ -94,7 +94,7 @@ def create_activity
94
time: activity_time
95
}
96
activity[:to] = activity_notify.map(&:id) unless activity_notify.nil?
97
- activity.merge!(activity_extra_data) if activity_extra_data != nil
+ activity.merge!(activity_extra_data || {})
98
activity
99
end
100
0 commit comments