diff --git a/pleroma.py b/pleroma.py index 8d8bb74..6b984e7 100644 --- a/pleroma.py +++ b/pleroma.py @@ -72,6 +72,8 @@ class Pleroma: except KeyError: raise LoginFailed(me) + return self._logged_in_id + async def following(self, account_id=None): account_id = account_id or await self._get_logged_in_id() return await self.request('GET', f'/api/v1/accounts/{account_id}/following')