Skip to content

Commit

Permalink
fixed authorization format
Browse files Browse the repository at this point in the history
  • Loading branch information
golnazads committed Apr 1, 2024
1 parent 9238173 commit bffec76
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 bffec76

Please sign in to comment.