From fd06fed1f2881ba5eaa9518d11423a66868b376b Mon Sep 17 00:00:00 2001 From: FC Stegerman Date: Sat, 16 Sep 2023 23:09:40 +0200 Subject: [PATCH] fix type for notificationIDList in _build_monitor_data() --- uptime_kuma_api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptime_kuma_api/api.py b/uptime_kuma_api/api.py index 1721bde..8687a43 100644 --- a/uptime_kuma_api/api.py +++ b/uptime_kuma_api/api.py @@ -792,7 +792,7 @@ class UptimeKumaApi(object): accepted_statuscodes = ["200-299"] if notificationIDList is None: - notificationIDList = {} + notificationIDList = [] data = { "type": type,