Skip to content

Commit

Permalink
feat(GP-13): don't use built in name hash
Browse files Browse the repository at this point in the history
  • Loading branch information
khan08 committed Feb 27, 2019
1 parent cb68992 commit 23fe680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexd/index/drivers/alchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,8 +809,8 @@ def update(self, did, rev, changing_fields):
for m_key, m_value in changing_fields['metadata'].items()]

if 'hashes' in changing_fields:
for hash in record.hashes:
session.delete(hash)
for hash_doc in record.hashes:
session.delete(hash_doc)

record.hashes = [
IndexRecordHash(
Expand Down

0 comments on commit 23fe680

Please sign in to comment.