forked from DGNum/uptime-kuma-api
fix: remove tags
from monitor input
add_monitor_tag must be used instead
This commit is contained in:
parent
3772d1dc26
commit
de38586bf5
1 changed files with 0 additions and 6 deletions
|
@ -414,7 +414,6 @@ class UptimeKumaApi(object):
|
||||||
resendInterval: int = 0,
|
resendInterval: int = 0,
|
||||||
maxretries: int = 0,
|
maxretries: int = 0,
|
||||||
upsideDown: bool = False,
|
upsideDown: bool = False,
|
||||||
tags: list = None,
|
|
||||||
notificationIDList: list = None,
|
notificationIDList: list = None,
|
||||||
|
|
||||||
# HTTP, KEYWORD
|
# HTTP, KEYWORD
|
||||||
|
@ -482,11 +481,6 @@ class UptimeKumaApi(object):
|
||||||
"resendInterval": resendInterval
|
"resendInterval": resendInterval
|
||||||
})
|
})
|
||||||
|
|
||||||
if tags:
|
|
||||||
data.update({
|
|
||||||
"tags": tags
|
|
||||||
})
|
|
||||||
|
|
||||||
if type == MonitorType.KEYWORD:
|
if type == MonitorType.KEYWORD:
|
||||||
data.update({
|
data.update({
|
||||||
"keyword": keyword,
|
"keyword": keyword,
|
||||||
|
|
Loading…
Reference in a new issue