Skip to content

Commit

Permalink
Merge a35600f into b22b6eb
Browse files Browse the repository at this point in the history
  • Loading branch information
golnazads committed Apr 1, 2024
2 parents b22b6eb + a35600f commit 51f5ff2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
# pip install --upgrade setuptools for now becuase of an issue with ConcurrentLogHandler
# python -m pip install --upgrade setuptools pip
python -m pip install --upgrade wheel pip
pip install -r requirements.txt
pip install -r requirements2.txt
pip install -r dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion referencesrv/resolver/solrquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self):
# so grab the one that is available, remove the Bearer if present, to add it at the end
Authorization = current_app.config.get('SERVICE_TOKEN', None) or \
request.headers.get('X-Forwarded-Authorization', request.headers.get('Authorization', ''))
self.Authorization = Authorization if 'Bearer' in Authorization else 'Bearer:%s'%Authorization
self.Authorization = Authorization if 'Bearer' in Authorization else 'Bearer %s'%Authorization

def make_params(self, query):
"""
Expand Down

0 comments on commit 51f5ff2

Please sign in to comment.