From 0c4b11381e9ffb3466b3b5e1f60a11f619e5b5a4 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Thu, 27 Jun 2024 10:18:48 +0200 Subject: [PATCH] let FeaturedBlock backgroundColor be optional in the schema --- dnscms/dnscms/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscms/dnscms/blocks.py b/dnscms/dnscms/blocks.py index 7baa184..1a4e403 100644 --- a/dnscms/dnscms/blocks.py +++ b/dnscms/dnscms/blocks.py @@ -147,7 +147,7 @@ class FeaturedBlock(blocks.StructBlock): GraphQLString("link_text", required=True), GraphQLString("image_position", required=True), GraphQLImage("featured_image_override"), - GraphQLString("background_color", required=True), + GraphQLString("background_color", required=False), GraphQLPage("featured_page", required=True), ]