Skip to content

Commit 464a86d

Browse files
committed
Merge branch 'upgrade_expo_server_gem' into 'develop'
remove deprecated method Closes #12 See merge request gtt/redmine_expo_push!6
2 parents 7c16b1a + 2c989ce commit 464a86d

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)