whoopsie forgot to make that a rest uri

This commit is contained in:
cloudwithax 2023-02-01 22:12:21 -05:00
parent fc2b12af4e
commit 0089caea09
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class Node:
self._task = self._bot.loop.create_task(self._listen())
self._available = True
self._session_id = f"pomice_{secrets.token_hex(20)}"
async with self._session.get(f'{self._host}/v3/version') as resp:
async with self._session.get(f'{self._rest_uri}/v3/version') as resp:
version: str = await resp.text()
# To make version comparasion easier, lets remove the periods
# from the version numbers and compare them like whole numbers