Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#412 | fixing collection import | parent lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Apr 1, 2021
1 parent 3231c18 commit 3d3fa42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/v1_importers/models.py
Expand Up @@ -724,7 +724,7 @@ def process_line(self, line): # pylint: disable=too-many-locals,too-many-statem
data['created_at'] = get(created_at, '$date')
data['updated_at'] = get(updated_at, '$date')
mnemonic = data.get('mnemonic')
data['organization'] = self.get_org(parent_id)
data['organization'] = self.get_org(internal_reference_id=parent_id)

self.log("Processing: {} ({}/{})".format(mnemonic, self.processed, self.total))
uri = data['uri']
Expand Down

0 comments on commit 3d3fa42

Please sign in to comment.