Add conditions field for Uptime Kuma v2 compatibility
All checks were successful
Build and Push Container / build (push) Successful in 31s
All checks were successful
Build and Push Container / build (push) Successful in 31s
Uptime Kuma v2 requires a non-null conditions field when creating monitors. Adding empty array to satisfy the constraint. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -203,6 +203,7 @@ class UptimeKumaClient:
|
||||
"interval": monitor.interval,
|
||||
"maxretries": monitor.retries,
|
||||
"retryInterval": monitor.retry_interval,
|
||||
"conditions": [], # Required for Uptime Kuma v2
|
||||
}
|
||||
|
||||
# Add type-specific fields
|
||||
|
||||
Reference in New Issue
Block a user