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 aa136cf2fa
commit 99e3e152cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)