From d3f6b92670f04585c784674419da3772b06bd6c4 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 27 Jul 2024 13:43:40 +0200 Subject: [PATCH] posts:// for notifications also --- changedetectionio/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/notification.py b/changedetectionio/notification.py index 97061994..d685ab1d 100644 --- a/changedetectionio/notification.py +++ b/changedetectionio/notification.py @@ -107,7 +107,7 @@ def apprise_custom_api_call_wrapper(body, title, notify_type, *args, **kwargs): r(results.get('url'), auth=auth, - data=body, + data=body.encode('utf-8') if type(body) is str else body, headers=headers, params=params )