From ec7e22caa0df0cf89a94e83f3b753b365f392b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Oberm=C3=BCller?= Date: Thu, 2 Jan 2025 22:50:57 +0100 Subject: [PATCH] fix(insights): fix shared insights with color themes (#27231) --- posthog/api/data_color_theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posthog/api/data_color_theme.py b/posthog/api/data_color_theme.py index 3eb37e0959a69..ff7d65ceac43e 100644 --- a/posthog/api/data_color_theme.py +++ b/posthog/api/data_color_theme.py @@ -23,8 +23,8 @@ def has_object_permission(self, request, view, obj) -> bool: class PublicDataColorThemeSerializer(serializers.ModelSerializer): class Meta: model = DataColorTheme - fields = ["id", "name", "colors"] - read_only_fields = ["id", "name", "colors"] + fields = ["id", "name", "colors", "is_global"] + read_only_fields = ["id", "name", "colors", "is_global"] class DataColorThemeSerializer(PublicDataColorThemeSerializer):