Skip to content

Commit

Permalink
Merge pull request #32 from golnazads/master
Browse files Browse the repository at this point in the history
fixed authorization format
  • Loading branch information
golnazads authored Apr 1, 2024
2 parents 9e1590f + bffec76 commit d668841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adsdocmatch/matchable_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def matchable_status(bibstem):
token = config.get("DOCMATCHPIPELINE_API_TOKEN", None)
jdb_url = config.get("DOCMATCHPIPELINE_API_JOURNALS_SERVICE_URL", None)
if token and jdb_url:
header = {"Authorization": "Bearer:%s" % token}
header = {"Authorization": "Bearer %s" % token}
query = "/summary/" + bibstem
request_url = jdb_url + query
r = requests.get(request_url, headers=header)
Expand Down

0 comments on commit d668841

Please sign in to comment.