diff --git a/pleroma.py b/pleroma.py index b8caaf7..2926d62 100644 --- a/pleroma.py +++ b/pleroma.py @@ -107,7 +107,7 @@ class Pleroma: data.add_field('description', description) if focus is not None: data.add_field(','.join(map(str, focus))) - return await self.request('POST', '/api/v2/media', data=data) + return await self.request('POST', '/api/v1/media', data=data) async def reply(self, to_status, content, *, cw=None): user_id = await self._get_logged_in_id()