Skip to content

Commit

Permalink
Removing the testing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
romanchyla committed Jun 5, 2020
1 parent 9c32786 commit f843f48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions biblib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def _sanitize(self, args, kwargs):
headers = kwargs.get('headers', {})
if 'Authorization' not in headers:
headers['Authorization'] = current_app.config.get('SERVICE_TOKEN', None) or request.headers.get('X-Forwarded-Authorization', request.headers.get('Authorization', None))
if 'timeout' not in kwargs:
kwargs['timeout'] = current_app.config.get('GET_TIMEOUT', 5)
kwargs['headers'] = headers
return (args, kwargs)

Expand Down

0 comments on commit f843f48

Please sign in to comment.