From fa42a71181c589a7b27bdc276358434dc11acdbd Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Thu, 14 Feb 2019 10:04:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20validation=20error=20whe?= =?UTF-8?q?n=20adding=20tag=20from=20PSM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #10438 - Relaxed validation rules for tag.slug property to allow 'null' values --- core/server/api/v2/utils/validators/input/schemas/posts.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/api/v2/utils/validators/input/schemas/posts.json b/core/server/api/v2/utils/validators/input/schemas/posts.json index 924b1bc957..a0ebfb4814 100644 --- a/core/server/api/v2/utils/validators/input/schemas/posts.json +++ b/core/server/api/v2/utils/validators/input/schemas/posts.json @@ -166,7 +166,7 @@ "maxLength": 191 }, "slug": { - "type": "string", + "type": ["string", "null"], "maxLength": 191 } },