From 0fa6962a417d240ca275b890aaf7647e6055a097 Mon Sep 17 00:00:00 2001 From: freyamade Date: Wed, 11 May 2022 12:10:25 +0100 Subject: [PATCH] Used the wrong source on teammember serializer name --- backend/api/serializers/team_member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/serializers/team_member.py b/backend/api/serializers/team_member.py index e253711c..a65beab5 100644 --- a/backend/api/serializers/team_member.py +++ b/backend/api/serializers/team_member.py @@ -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