Skip to content

Commit

Permalink
Update API authentication headers
Browse files Browse the repository at this point in the history
  • Loading branch information
luke8086 committed May 18, 2020
1 parent 536098a commit f001f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paywhirl/paywhirl.py
Expand Up @@ -874,7 +874,7 @@ def get_multi_auth_token(self, data: dict) -> Any:
def _request(self, method: str, path: str, params: Any = None) -> Any:
params = params or {}
url = self._api_base + path
headers = {'api_key': self._api_key, 'api_secret': self._api_secret}
headers = {'api-key': self._api_key, 'api-secret': self._api_secret}
kwargs = {'headers': headers, 'verify': self._verify_ssl}

if method == 'post':
Expand Down

0 comments on commit f001f10

Please sign in to comment.