Skip to content

Commit

Permalink
Fix crash in NotifyService when trying to send an email notification …
Browse files Browse the repository at this point in the history
…for polls (mastodon#24558)
  • Loading branch information
ClearlyClaire authored and Michael Mitchell committed May 3, 2023
1 parent 5658fbb commit 91d4511
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/notify_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class NotifyService < BaseService
admin.report
admin.sign_up
update
poll
).freeze

def call(recipient, type, activity)
Expand Down

0 comments on commit 91d4511

Please sign in to comment.