Skip to content

Commit

Permalink
Merge branch 'recipient-type-should-be-set-to-base-class' of github.c…
Browse files Browse the repository at this point in the history
…om:alikrugl/noticed into alikrugl-recipient-type-should-be-set-to-base-class
  • Loading branch information
excid3 committed Jan 24, 2024
2 parents f529df0 + 6544521 commit 6343c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/noticed/deliverable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def deliver(recipients = nil, options = {})
def recipient_attributes_for(recipient)
{
type: "#{self.class.name}::Notification",
recipient_type: recipient.class.name,
recipient_type: recipient.class.base_class.name,
recipient_id: recipient.id
}
end
Expand Down

0 comments on commit 6343c76

Please sign in to comment.