Skip to content

Commit

Permalink
Used the wrong source on teammember serializer name
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed May 11, 2022
1 parent 212cf23 commit 0fa6962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/serializers/team_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class TeamMemberSerializer(serializers.ModelSerializer):
bis_list = BISListSerializer()
character = CharacterCollectionSerializer()
name = serializers.CharField(source='character.alias')
name = serializers.CharField(source='character.display_name')

class Meta:
model = TeamMember
Expand Down

0 comments on commit 0fa6962

Please sign in to comment.