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 7c16b1a commit 2c989ceCopy full SHA for 2c989ce
lib/redmine_expo_push/notification.rb
@@ -35,7 +35,7 @@ def deliver
35
36
if messages.any?
37
begin
38
- Exponent::Push::Client.new(gzip: true).publish messages
+ Exponent::Push::Client.new(gzip: true).send_messages messages
39
rescue Exception
40
Rails.logger.error "error sending push notifications:\n#{$!}\n" + $!.backtrace.join("\n")
41
end
0 commit comments