diff --git a/backend/core/serializers.py b/backend/core/serializers.py index 0fba4e3..ac0ef06 100644 --- a/backend/core/serializers.py +++ b/backend/core/serializers.py @@ -167,7 +167,7 @@ def get_ownerUser(self, obj): class UserProfileOnPostSerializer(serializers.ModelSerializer): class Meta: model = UserProfile - fields = ["username", "avatar", "bio", "reputation"] + fields = ["username", "avatar", "bio", "reputation", "created"] class UserProfileSerializer(serializers.ModelSerializer): @@ -175,7 +175,7 @@ class UserProfileSerializer(serializers.ModelSerializer): class Meta: model = UserProfile - fields = ["username", "avatar", "bio", "reputation", "followedPosts"] + fields = ["username", "avatar", "bio", "reputation", "created", "followedPosts"] class ReportSerializer(serializers.ModelSerializer):