Skip to content

Commit 2582bd6

Browse files
authored
Merge pull request #965 from hubmapconsortium/Derek-Furst/resurrect-publication-collection-association
added brackets to collection_publication_uuid in delete_cache to fix …
2 parents 161db00 + e36fe17 commit 2582bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5409,7 +5409,7 @@ def delete_cache(entity_uuid, entity_type):
54095409
publication_collection_dict = schema_neo4j_queries.get_publication_associated_collection(neo4j_driver_instance, entity_uuid)
54105410

54115411
# We only use uuid in the cache key acorss all the cache types
5412-
uuids_list = [entity_uuid] + descendant_uuids + collection_dataset_uuids + upload_dataset_uuids + collection_uuids + collection_publication_uuid
5412+
uuids_list = [entity_uuid] + descendant_uuids + collection_dataset_uuids + upload_dataset_uuids + collection_uuids + [collection_publication_uuid]
54135413

54145414
# Add to the list if the target dataset has linked upload
54155415
if dataset_upload_dict:

0 commit comments

Comments
 (0)