Skip to content

Commit

Permalink
Version 1.1.3
Browse files Browse the repository at this point in the history
- Bug Fix involving decoding secrets
  • Loading branch information
WilliamOtieno committed Jan 25, 2022
1 parent f4d1de6 commit 7403a39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python_daraja/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _get_access_token() -> str:

payload = {}
headers = {
'Authorization': f'Basic {b64_creds}'
'Authorization': f"Basic {b64_creds.decode('utf-8')}"
}

response = requests.request("GET", url, headers=headers, data=payload)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = python-daraja
version = 1.0.3
version = 1.1.3
author = William Otieno
author_email = jimmywilliamotieno@gmail.com
description = Python Wrapper for interacting with the Daraja MPESA Payments API
Expand Down

0 comments on commit 7403a39

Please sign in to comment.