fix endpoint

This commit is contained in:
deesiigneer
2024-04-18 23:09:40 +05:00
parent 8d60472b9a
commit c086954c25
2 changed files with 2 additions and 2 deletions

View File

@@ -7,4 +7,4 @@ __author__ = 'deesiigneer'
__url__ = 'https://github.com/deesiigneer/pyspapi'
__description__ = 'API wrapper for SP servers written in Python.'
__license__ = 'MIT'
__version__ = "3.1.1"
__version__ = "3.1.2"

View File

@@ -88,7 +88,7 @@ class SPAPI(APISession):
:return: Объект Account, представляющий аккаунт текущего пользователя.
:rtype: Account
"""
me = await self.__get('account/me')
me = await self.__get('accounts/me')
return Account(
account_id=me['id'],
username=me['username'],