From: Michael Tremer Date: Thu, 11 Jan 2024 13:23:51 +0000 (+0000) Subject: fireinfo: Allow system/model to be null X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb3bcfe1b069abfb9d8fd32d48513c81f0fa6ed4;p=ipfire.org.git fireinfo: Allow system/model to be null Signed-off-by: Michael Tremer --- diff --git a/src/backend/fireinfo.py b/src/backend/fireinfo.py index 61a80fb5..277ad781 100644 --- a/src/backend/fireinfo.py +++ b/src/backend/fireinfo.py @@ -226,7 +226,7 @@ PROFILE_SCHEMA = { "type" : "integer", }, "model" : { - "type" : "string", + "type" : ["string", "null"], "pattern" : r"^.{,80}$", }, "release" : {