Skip to content

Commit

Permalink
#333 fixing an error with empty attachments on asynchronous notificat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
Carlos-Eduardo-Cabral-da-Cunha committed Sep 26, 2020
1 parent b327528 commit e9f8a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def self.send_emails(notifications)
end

messages = notifications[:notifications]
messages_attachments = notifications[:notifications_attachments]
messages_attachments = notifications[:notifications_attachments] || {}

messages.each do |message|
options = {}
Expand Down

0 comments on commit e9f8a0f

Please sign in to comment.