Skip to content

Commit

Permalink
fix merger hep
Browse files Browse the repository at this point in the history
  • Loading branch information
MJedr committed Jul 27, 2023
1 parent 69ca332 commit f960016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inspirehep/modules/workflows/tasks/manual_merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _merge_roots(new_uuid, head_roots, update_roots):
data={
"record_uuid": head_root["record_uuid"],
"source": head_root["source"],
"json": head_root["json_data"],
"json": head_root["json"],
},
)
if response.status_code != 200:
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/workflows/test_workflows_manual_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,13 @@ def test_save_roots_using_hep_root_table_api(workflow_app):
obj.save()

original_data = dict(
json_data={"version": "original"}, record_uuid=str(head.id), source="arxiv"
json={"version": "original"}, record_uuid=str(head.id), source="arxiv"
)
arxiv_update_data = dict(
json_data={"version": "updated"}, record_uuid=str(update.id), source="arxiv"
json={"version": "updated"}, record_uuid=str(update.id), source="arxiv"
)
publisher_update_data = dict(
json_data={"version": "updated"},
json={"version": "updated"},
record_uuid=str(update.id),
source="publisher",
)
Expand Down

0 comments on commit f960016

Please sign in to comment.