Skip to content

Commit 0a64244

Browse files
committed
make refresh public
1 parent 7d61277 commit 0a64244

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public_invest_api/public.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def login(self, username=None, password=None, wait_for_2fa=True, code=None) -> d
150150
return response
151151

152152
@login_required
153-
def _refresh_token(self) -> dict:
153+
def refresh_token(self) -> dict:
154154
"""
155155
Refreshes the access token by making a POST request to the refresh URL.
156156
Returns:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="public_invest_api",
5-
version="1.2.0",
5+
version="1.2.1",
66
description="Unofficial Public.com Invest API written in Python Requests",
77
long_description=open("README.md").read(),
88
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)