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.
2 parents 7c16b1a + 2c989ce commit 464a86dCopy full SHA for 464a86d
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