From de38586bf5285e73e0570c3adbf2590499237cf6 Mon Sep 17 00:00:00 2001 From: lucasheld Date: Sat, 17 Sep 2022 12:19:36 +0200 Subject: [PATCH] fix: remove `tags` from monitor input add_monitor_tag must be used instead --- uptime_kuma_api/api.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/uptime_kuma_api/api.py b/uptime_kuma_api/api.py index 7313783..867d914 100644 --- a/uptime_kuma_api/api.py +++ b/uptime_kuma_api/api.py @@ -414,7 +414,6 @@ class UptimeKumaApi(object): resendInterval: int = 0, maxretries: int = 0, upsideDown: bool = False, - tags: list = None, notificationIDList: list = None, # HTTP, KEYWORD @@ -482,11 +481,6 @@ class UptimeKumaApi(object): "resendInterval": resendInterval }) - if tags: - data.update({ - "tags": tags - }) - if type == MonitorType.KEYWORD: data.update({ "keyword": keyword,