misc(pterodactyl): testing something
This commit is contained in:
parent
b5362ff153
commit
9e826d6ba5
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ async def retrieve_websocket_credentials(coginstance: Pterodactyl) -> Optional[d
|
||||||
coginstance.task.cancel()
|
coginstance.task.cancel()
|
||||||
raise ValueError("Pterodactyl server ID not set. Please set it using `[p]pterodactyl config serverid`.")
|
raise ValueError("Pterodactyl server ID not set. Please set it using `[p]pterodactyl config serverid`.")
|
||||||
|
|
||||||
client = PterodactylClient(base_url, api_key, logger=logger).client
|
client = PterodactylClient(base_url, api_key).client
|
||||||
coginstance.client = client
|
coginstance.client = client
|
||||||
websocket_credentials = client.servers.get_websocket(server_id)
|
websocket_credentials = client.servers.get_websocket(server_id)
|
||||||
logger.debug("""Websocket connection details retrieved:
|
logger.debug("""Websocket connection details retrieved:
|
||||||
|
|
Loading…
Reference in a new issue