Skip to content

Commit

Permalink
Merge branch 'adsabs:master' into concept_doi_metadata_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tjacovich authored Nov 19, 2024
2 parents 3f84eb7 + 497a59c commit 28f4aac
Showing 1 changed file with 2 additions and 2 deletions.
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 28f4aac

Please sign in to comment.