Skip to content

Commit 6586bbf

Browse files
committed
fix: set default auth header to 'Authorization'
1 parent 5bde96f commit 6586bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wes_client/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def __init__(self, service):
165165
self.host = service['host']
166166
auth_param = {'token': 'Authorization',
167167
'api_key': 'X-API-KEY',
168-
None: ''}
168+
None: 'Authorization'}
169169
self.param_in = auth_param[service['auth_type']]
170170

171171
def get_service_info(self):

0 commit comments

Comments
 (0)