aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/metadata_edits.py2
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_})