Skip to content

Commit 2c989ce

Browse files
committed
remove deprecated method
1 parent 7c16b1a commit 2c989ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redmine_expo_push/notification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def deliver
3535

3636
if messages.any?
3737
begin
38-
Exponent::Push::Client.new(gzip: true).publish messages
38+
Exponent::Push::Client.new(gzip: true).send_messages messages
3939
rescue Exception
4040
Rails.logger.error "error sending push notifications:\n#{$!}\n" + $!.backtrace.join("\n")
4141
end

0 commit comments

Comments
 (0)