Commit ed92cfdebd99680048b1a4b697cb338bb93b4170
1 parent
f6248c25
Exists in
master
and in
4 other branches
Fix method call for service hook
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/roles/push_observer.rb
@@ -57,7 +57,7 @@ module PushObserver | @@ -57,7 +57,7 @@ module PushObserver | ||
57 | services.each do |service| | 57 | services.each do |service| |
58 | 58 | ||
59 | # Call service hook only if it is active | 59 | # Call service hook only if it is active |
60 | - service.execute if service.active | 60 | + service.execute(data) if service.active |
61 | end | 61 | end |
62 | end | 62 | end |
63 | 63 |