Skip to content

Commit

Permalink
Merge pull request #4307 from inspirehep/fix-json-merger
Browse files Browse the repository at this point in the history
workflows: fix merge roots
  • Loading branch information
drjova authored Aug 2, 2023
2 parents e8159fd + adcd9f4 commit 58ee8a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inspirehep/modules/workflows/tasks/manual_merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _merge_roots_hep(new_uuid, head_roots, update_roots):
inspirehep_url=current_app.config["INSPIREHEP_URL"]
),
headers=request_headers,
data={
json={
"record_uuid": update_root["record_uuid"],
"source": update_root["source"],
},
Expand Down Expand Up @@ -177,7 +177,7 @@ def _merge_roots(new_uuid, head_roots, update_roots):
inspirehep_url=current_app.config["INSPIREHEP_URL"]
),
headers=_get_headers_for_hep_root_table_request(),
data={
json={
"record_uuid": head_root["record_uuid"],
"source": head_root["source"],
"json": head_root["json"],
Expand Down

0 comments on commit 58ee8a3

Please sign in to comment.