From ed27d8f17c8a7bfbce6ee6f99c9cb0116e627650 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 30 Nov 2023 13:17:06 +0100 Subject: [PATCH] sort calls --- changedetectionio/notification.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/changedetectionio/notification.py b/changedetectionio/notification.py index 3bbc79692..93cd304e8 100644 --- a/changedetectionio/notification.py +++ b/changedetectionio/notification.py @@ -90,7 +90,6 @@ def apprise_custom_api_call_wrapper(body, title, notify_type, *args, **kwargs): if not k.strip('+-') in results['qsd+'].keys(): params[URLBase.unquote(k)] = URLBase.unquote(v) - # Determine Authentication auth = '' if results.get('user') and results.get('password'): @@ -106,10 +105,10 @@ def apprise_custom_api_call_wrapper(body, title, notify_type, *args, **kwargs): pass r(results.get('url'), - headers=headers, + auth=auth, data=body, - params=params, - auth=auth + headers=headers, + params=params )