fix for the prev commit

This commit is contained in:
Kay Faraday 2022-01-01 22:49:40 +00:00
parent 547c1a2407
commit f6a17a25f7
1 changed files with 2 additions and 0 deletions

View File

@ -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')