Skip to content

Commit

Permalink
Added description to group list serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsNyl committed Dec 26, 2024
1 parent 9620224 commit b695ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/group/serializers/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Meta:
fields = SimpleGroupSerializer.Meta.fields + (
"contact_email",
"leader",
"description",
)

def get_leader(self, obj):
Expand All @@ -67,7 +68,6 @@ class Meta:

lookup_field = GroupListSerializer.Meta.lookup_field
fields = GroupListSerializer.Meta.fields + (
"description",
"permissions",
"fines_admin",
"fines_activated",
Expand Down

0 comments on commit b695ee1

Please sign in to comment.