Skip to content

Commit

Permalink
Serialize blog header image
Browse files Browse the repository at this point in the history
  • Loading branch information
JElgar committed Sep 3, 2024
1 parent 39b2ebd commit 34380e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions causes_service/blogs/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Meta:
class BlogSerializer(serializers.ModelSerializer):
release_at_timestamp = serializers.IntegerField()
authors = AuthorSerializer(many=True)
header_image = ImageSerializer()

class Meta:
model = Blog
Expand Down

0 comments on commit 34380e6

Please sign in to comment.