fix: remove tags from monitor input

add_monitor_tag must be used instead
This commit is contained in:
lucasheld 2022-09-17 12:19:36 +02:00
parent 3772d1dc26
commit de38586bf5

View file

@ -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,