Ver Código Fonte

routes.aardbei: Fix crash in aardbei_apply

Maarten van den Berg 4 anos atrás
pai
commit
99d14fcd6e
1 arquivos alterados com 2 adições e 2 exclusões
  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
     )