diff options
author | zsloan | 2023-09-21 19:07:15 +0000 |
---|---|---|
committer | zsloan | 2023-09-21 19:07:15 +0000 |
commit | d0375a88aa672144e778c3d18ba151e60f7741bf (patch) | |
tree | 8be26820be5cbbc218123b048b3dc0885666d861 | |
parent | b26d9b9799d107deac50fdaa3f98c4acb38705ee (diff) | |
download | genenetwork2-d0375a88aa672144e778c3d18ba151e60f7741bf.tar.gz |
Fix the way id_ is accessed from existing_publication
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 0f7d33bd..9caccd3c 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -339,7 +339,7 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success") update_cross_reference(conn, dataset_id, name, - {"publication_id": existing_publication.id_}) + {"publication_id": existing_publication['id_']}) else: updated_publications = update_publication( conn, {"id_": data_["old_id_"], **publication_}) |