fix request token endpoint
This commit is contained in:
@@ -65,7 +65,7 @@ class RadioAPIClient(BaseAPI):
|
|||||||
Returns:
|
Returns:
|
||||||
str: A token for the bot to use
|
str: A token for the bot to use
|
||||||
"""
|
"""
|
||||||
url = "/bots/request_token"
|
url = "/bot/request_token"
|
||||||
print(f"Fetching a token from {self.base_url}{url}")
|
print(f"Fetching a token from {self.base_url}{url}")
|
||||||
return await self._request("POST", url, json={"client_id":app_config.client_id})
|
return await self._request("POST", url, json={"client_id":app_config.client_id})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user