formatting

This commit is contained in:
Mira Weller
2025-07-01 16:07:32 +02:00
parent b2cc8294e4
commit 78f5ee1935

View File

@@ -436,7 +436,11 @@ class OrderAndTicketAssociationSync(OutboundSyncProvider):
**update_values,
external_id_field: id_value,
"_id": pre_existing_object and pre_existing_object.get("_id"),
"links": [f"link:{obj['object_type']}:{obj['my_result']['_id']}" for am in mapping.association_mappings for obj in mapped_objects[am.via_mapping_id]]
"links": [
f"link:{obj['object_type']}:{obj['my_result']['_id']}"
for am in mapping.association_mappings
for obj in mapped_objects[am.via_mapping_id]
]
})
return {