Skip to content

Commit

Permalink
Merge 673e99c into a7f8d4b
Browse files Browse the repository at this point in the history
  • Loading branch information
tjacovich committed Feb 13, 2024
2 parents a7f8d4b + 673e99c commit a9f088a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
python -m pip install --upgrade wheel setuptools pip
pip install coverage==5.2.1
pip install coveralls==2.2.0
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v3
with:
name: coverage-citationcapture

Expand Down
4 changes: 2 additions & 2 deletions ADSCitationCapture/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _request_citations_page(app, bibcode, start, rows):
'sort': 'date desc, bibcode desc',
})
headers = {}
headers["Authorization"] = "Bearer:{}".format(app.conf['ADS_API_TOKEN'])
headers["Authorization"] = "Bearer {}".format(app.conf['ADS_API_TOKEN'])
url = app.conf['ADS_API_URL']+"search/query?"+params
r_json = {}
try:
Expand Down Expand Up @@ -117,7 +117,7 @@ def _get_canonical_bibcodes(app, n_chunk, total_n_chunks, bibcodes_chunk, timeou
'rows': len(bibcodes_chunk),
})
headers = {}
headers["Authorization"] = "Bearer:{}".format(app.conf['ADS_API_TOKEN'])
headers["Authorization"] = "Bearer {}".format(app.conf['ADS_API_TOKEN'])
headers["Content-Type"] = "big-query/csv"
url = app.conf['ADS_API_URL']+"search/bigquery?"+params
r_json = {}
Expand Down

0 comments on commit a9f088a

Please sign in to comment.