Skip to content

Commit

Permalink
Use path to api v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Sep 5, 2024
1 parent e111d43 commit 12f8266
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tidalapi/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@ def mixes(self, limit: Optional[int] = 50, offset: int = 0) -> List["MixV2"]:
return cast(
List["MixV2"],
self.requests.map_request(
url=urljoin("https://api.tidal.com/v2/", f"{self.v2_base_url}/mixes"),
url=urljoin(
self.session.config.api_v2_location, f"{self.v2_base_url}/mixes"
),
params=params,
parse=self.session.parse_v2_mix,
),
Expand Down

0 comments on commit 12f8266

Please sign in to comment.