From 5c63f346acdb8d503dc4d905cb8a22d8ac8f25c2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 9 Feb 2025 22:14:17 +0100 Subject: [PATCH] Improved rule --- changedetectionio/api/api_schema.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changedetectionio/api/api_schema.py b/changedetectionio/api/api_schema.py index 8b64171f..f3965c5a 100644 --- a/changedetectionio/api/api_schema.py +++ b/changedetectionio/api/api_schema.py @@ -128,8 +128,7 @@ def build_watch_json_schema(d): } }, {"type": "null"}, # Allows null - {"type": "array", "maxItems": 0}, # Allows empty array [] - {"type": "string", "enum": ["none"]} # Allows string "none" + {"type": "array", "maxItems": 0} # Allows empty array [] ] }