Skip to content

Commit

Permalink
cast otp to string
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane committed Apr 22, 2024
1 parent e6e17ed commit a71ebd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fennel_invest_api/fennel.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def login(self, email, wait_for_code=True, code=None):
payload = {
"grant_type": "http://auth0.com/oauth/grant-type/passwordless/otp",
"client_id": self.client_id,
"otp": code,
"otp": str(code),
"username": email,
"scope": "openid profile offline_access email",
"audience": "https://meta.api.fennel.com/graphql",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="fennel_invest_api",
version="1.0.2",
version="1.0.3",
description="Unofficial Fennel.com Invest API written in Python Requests",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a71ebd1

Please sign in to comment.