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