Skip to content

Commit

Permalink
Fix double v1 in login method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Kruszynski committed Nov 27, 2023
1 parent e40b1d6 commit d71eb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidalapi/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def login(self, username: str, password: str) -> bool:
:param password: The password to your TIDAL account
:return: Returns true if we think the login was successful.
"""
url = urljoin(self.config.api_location, "v1/login/username")
url = urljoin(self.config.api_location, "login/username")
headers: dict[str, str] = {"X-Tidal-Token": self.config.api_token}
payload = {
"username": username,
Expand Down

0 comments on commit d71eb76

Please sign in to comment.