Skip to content

Commit 7656fef

Browse files
authored
Merge branch 'master' into concept_doi_metadata_updates
2 parents 602825d + 497a59c commit 7656fef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python_actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
pip install coverage==5.2.1
7676
pip install coveralls==2.2.0
7777
- uses: actions/download-artifact@v4
78+
7879
with:
7980
name: coverage-citationcapture
8081

ADSCitationCapture/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _request_citations_page(app, bibcode, start, rows):
2929
'sort': 'date desc, bibcode desc',
3030
})
3131
headers = {}
32-
headers["Authorization"] = "Bearer:{}".format(app.conf['ADS_API_TOKEN'])
32+
headers["Authorization"] = "Bearer {}".format(app.conf['ADS_API_TOKEN'])
3333
url = app.conf['ADS_API_URL']+"search/query?"+params
3434
r_json = {}
3535
try:
@@ -117,7 +117,7 @@ def _get_canonical_bibcodes(app, n_chunk, total_n_chunks, bibcodes_chunk, timeou
117117
'rows': len(bibcodes_chunk),
118118
})
119119
headers = {}
120-
headers["Authorization"] = "Bearer:{}".format(app.conf['ADS_API_TOKEN'])
120+
headers["Authorization"] = "Bearer {}".format(app.conf['ADS_API_TOKEN'])
121121
headers["Content-Type"] = "big-query/csv"
122122
url = app.conf['ADS_API_URL']+"search/bigquery?"+params
123123
r_json = {}

0 commit comments

Comments
 (0)