mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 04:25:25 +00:00
fix endpoint
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user