Skip to content

Commit

Permalink
Also show thing_type
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere committed Dec 24, 2023
1 parent 67bce7d commit c4e5871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/serializers/album_thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AlbumThingListSerializer(serializers.ModelSerializer):

class Meta:
model = AlbumThing
fields = ("id", "cover_photos", "title", "photo_count")
fields = ("id", "cover_photos", "title", "photo_count", "thing_type")

def get_photo_count(self, obj) -> int:
return obj.photo_count

0 comments on commit c4e5871

Please # to comment.