pl-fe: support loading conversation/recent posts on mitra
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user