From adb176f5b223ee2ca7d95aedb0981c922e5635de Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 14 Oct 2021 10:37:16 +0100 Subject: [PATCH] Added `color` as an allowed setting type refs https://github.com/TryGhost/Team/issues/1107 - updated schema validation to allow `'color'` through as a known setting type now --- core/server/data/schema/schema.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/server/data/schema/schema.js b/core/server/data/schema/schema.js index 810be04b8f..558cbac7fe 100644 --- a/core/server/data/schema/schema.js +++ b/core/server/data/schema/schema.js @@ -679,7 +679,8 @@ module.exports = { validations: { isIn: [[ 'select', - 'boolean' + 'boolean', + 'color' ]] } },