Skip to content

Commit 15940b2

Browse files
committed
Change baseUrl
1 parent 9cbb287 commit 15940b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tfa_python_sdk/tfa_python_sdk.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
class TFA:
44
def __init__(self, access_token) -> None:
55
self.access_token = access_token
6-
self.testUrl = "http://localhost:8000"
7-
self.baseUrl = "https://tele-fa-api.herokuapp.com"
6+
self.testUrl = "http://localhost:9000/api/auth"
7+
self.baseUrl = "https://tfasoft-api.herokuapp.com/api/auth"
88

99
def authUser(self, user_token):
1010
urlData = {
1111
"access_token": self.access_token,
1212
"user_token": user_token,
1313
}
1414

15-
response = req.post(f'{self.baseUrl}/api/auth/access', json = urlData)
15+
response = req.post(f'{self.baseUrl}/auth/access', json = urlData)
1616

1717
data = {
1818
"status": response.status_code,

0 commit comments

Comments
 (0)