Skip to content

Commit

Permalink
trying to implement returning partial objects (tags done)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohi-711 committed Dec 2, 2023
1 parent c7f17d9 commit dd3f154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/serializers/custom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Meta:

@staticmethod
def get_gravatar_url(obj: User):
return gravatar_url(obj.email_user())
return gravatar_url(str(obj))


class OrganizationSerializer(serializers.ModelSerializer):
Expand Down

0 comments on commit dd3f154

Please sign in to comment.