Browse Source

routes.aardbei: Fix crash in aardbei_apply

Maarten van den Berg 4 years ago
parent
commit
99d14fcd6e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      piket_server/routes/aardbei.py

+ 2 - 2
piket_server/routes/aardbei.py

76
         {
76
         {
77
             "num_changes": link.num_changes,
77
             "num_changes": link.num_changes,
78
             "new_people": [member.person.full_name for member in link.remote_only],
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
         200,
82
         200,
83
     )
83
     )