We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9d93ae commit e81a368Copy full SHA for e81a368
app/participant_portal_api/models.py
@@ -68,7 +68,7 @@ def join_modification_data(self, data: dict) -> dict:
68
if isinstance(orig_value, list):
69
sub_mod_value_map: dict[str, typing.Any] = {v["id"]: v for v in mod_data}
70
new_value = []
71
- for orig_sub_value in orig_value[field]:
+ for orig_sub_value in orig_value:
72
if not isinstance(orig_sub_value, dict) or not (sub_value_id := orig_sub_value.get("id")):
73
continue
74
0 commit comments