Pārlūkot izejas kodu

routes.aardbei: Fix crash in aardbei_apply

Maarten van den Berg 4 gadi atpakaļ
vecāks
revīzija
99d14fcd6e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      piket_server/routes/aardbei.py

+ 2 - 2
piket_server/routes/aardbei.py

@@ -76,8 +76,8 @@ def aardbei_apply() -> Union[Tuple[Dict[str, Any], int]]:
76 76
         {
77 77
             "num_changes": link.num_changes,
78 78
             "new_people": [member.person.full_name for member in link.remote_only],
79
-            "link_existing": [match.local.name for match in link.matches],
80
-            "altered_name": [match.local.name for match in link.matches],
79
+            "link_existing": [match.local.full_name for match in link.matches],
80
+            "altered_name": [match.local.full_name for match in link.altered_name],
81 81
         },
82 82
         200,
83 83
     )