From 308527f45e957dbbeb0d0178ecd309ecaef6f006 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 13 May 2021 22:23:49 +1000 Subject: [PATCH] 56 - Fix notification test --- backend/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/__init__.py b/backend/__init__.py index 8efd5df1..955163f9 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -384,7 +384,7 @@ def changedetection_app(conig=None, datastore_o=None): trigger_n = request.form.get('trigger-test-notification') if trigger_n: n_object = {'watch_url': url, - 'notification_urls': datastore.data['settings']['application']['notification_urls']} + 'notification_urls': notification_urls} notification_q.put(n_object) messages.append({'class': 'ok', 'message': 'Notifications queued.'})