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

This commit is contained in:
Claire 2023-04-08 12:51:14 +02:00 committed by GitHub
parent 07497b9956
commit 172a4ad9f4

View file

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