Skip to content

Commit

Permalink
Fix typo in README (#513)
Browse files Browse the repository at this point in the history
I see the config blocks don't receive params anymore
  • Loading branch information
fguillen authored Dec 16, 2024
1 parent 86ac992 commit ed3abf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class NewCommentNotifier < Noticed::Event

deliver_by :email do |config|
config.mailer = "CommentMailer"
config.if = ->(recipient) { !!recipient.preferences[:email] }
config.if = -> { !!recipient.preferences[:email] }
end

bulk_deliver_by :discord do |config|
Expand Down

0 comments on commit ed3abf3

Please sign in to comment.