Notifications - Bugfix: Notification format not being set correct (HTML emails being sent as plaintext and other problems) (#2129)

This commit is contained in:
Conner
2024-01-24 20:45:45 +01:00
committed by GitHub
parent 677082723c
commit 19ee65361d
+1 -1
View File
@@ -1603,7 +1603,7 @@ def notification_runner():
n_object['notification_title'] = datastore.data['settings']['application'].get('notification_title')
if not n_object.get('notification_format') and datastore.data['settings']['application'].get('notification_format'):
n_object['notification_title'] = datastore.data['settings']['application'].get('notification_format')
n_object['notification_format'] = datastore.data['settings']['application'].get('notification_format')
sent_obj = notification.process_notification(n_object, datastore)