Merge branch 'develop' into webhook-improvements

This commit is contained in:
Mohammad Hussain Nagaria 2023-05-21 15:54:50 +05:30 committed by GitHub
commit c8762068be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,7 @@ class Exporter:
# Group children data by parent name
grouped_children_data = self.group_children_data_by_parent(child_data)
for doc in parent_data:
related_children_docs = grouped_children_data.get(doc.name, {})
related_children_docs = grouped_children_data.get(str(doc.name), {})
yield {**doc, **related_children_docs}
def add_header(self):