Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 055058a

Browse files
committed
Fix bug in collection exporter (referencing an item)
1 parent 088b11a commit 055058a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/export-collections

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def serialize(coll)
4848
depositors: apo.persons_with_role('hydrus-collection-item-depositor') + apo.persons_with_role('hydrus-collection-depositor'),
4949
reviewers: apo.persons_with_role('hydrus-collection-reviewer'),
5050
related_items: related_items,
51-
created_at: item.create_date,
52-
updated_at: item.modified_date
51+
created_at: coll.create_date,
52+
updated_at: coll.modified_date
5353
}
5454
end
5555

0 commit comments

Comments
 (0)