diff --git a/pyspapi/__init__.py b/pyspapi/__init__.py index d9d60d3..0944b0c 100644 --- a/pyspapi/__init__.py +++ b/pyspapi/__init__.py @@ -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" diff --git a/pyspapi/spworlds.py b/pyspapi/spworlds.py index c0eb93c..726efc8 100644 --- a/pyspapi/spworlds.py +++ b/pyspapi/spworlds.py @@ -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'],