Skip to content

Commit

Permalink
fix(insights): fix shared insights with color themes (#27231)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr authored Jan 2, 2025
1 parent ae22f39 commit ec7e22c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/api/data_color_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ec7e22c

Please sign in to comment.