pl-fe: support loading conversation/recent posts on mitra

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-04-24 15:15:10 +02:00
parent ec2bc5a282
commit c5d1105b71
7 changed files with 52 additions and 9 deletions

View File

@@ -906,7 +906,7 @@ class PlApiClient {
* Requires features{@link Features.loadActivities}
*/
loadActivities: async (accountId: string) => {
const response = await this.request<{}>(`/api/v1/accounts/${accountId}/load_activities`);
const response = await this.request<{}>(`/api/v1/accounts/${accountId}/load_activities`, { method: 'POST' });
return response.json;
},

View File

@@ -1,6 +1,6 @@
{
"name": "pl-api",
"version": "1.0.0-rc.53",
"version": "1.0.0-rc.54",
"type": "module",
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
"repository": {