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 )