Merge pull request #7537 from opf/fix/29632/stringify-notification

[29632] Stringify notifications

[ci skip]
pull/7540/head
Oliver Günther 5 years ago committed by GitHub
commit 355d7f9a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/open_project/notifications.rb

@ -78,7 +78,7 @@ module OpenProject
# delivered (although it is not at the moment), so don't count on object equality
# for the payload.
def send(name, payload)
ActiveSupport::Notifications.instrument(name, payload)
ActiveSupport::Notifications.instrument(name.to_s, payload)
end
def subscriptions

Loading…
Cancel
Save