Fix crash in NotifyService when trying to send an email notification for post edits (#24460)

pull/2170/head
Claire 2023-04-08 12:51:14 +02:00 committed by GitHub
parent aa136cf2fa
commit 99e3e152cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class NotifyService < BaseService
NON_EMAIL_TYPES = %i(
admin.report
admin.sign_up
update
).freeze
def call(recipient, type, activity)