Skip to content

Commit

Permalink
Fix visibility field in ProjectSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Jan 17, 2025
1 parent c619ff5 commit 475b6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmo/projects/serializers/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_queryset(self):

last_changed = serializers.DateTimeField(read_only=True)

visibility = serializers.CharField(source='visibility.get_help_display')
visibility = serializers.CharField(source='visibility.get_help_display', read_only=True)

class Meta:
model = Project
Expand Down

0 comments on commit 475b6ac

Please sign in to comment.