From 304847e6276062b9fcd2d543e573d2dc18126872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Thu, 2 Jan 2025 22:19:11 +0100 Subject: [PATCH] fix(insights): fix shared insights with color themes --- 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):