pl-fe: finalize migration?

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-03 22:19:24 +01:00
parent 09478c3384
commit a81f727fb6
16 changed files with 126 additions and 295 deletions

View File

@ -4398,7 +4398,7 @@ class PlApiClient {
resolveReport: async (reportId: string, action_taken_comment?: string) => {
let response;
if (this.features.mastodonAdmin) {
response = await this.request(`/api/v1/admin/reports/${reportId}/resolve`, { method: 'POST', body: { action_taken_comment } });
response = await this.request(`/api/v1/admin/reports/${reportId}/resolve`, { method: 'POST', body: { action_taken_comment } });
} else {
response = await this.request(`/api/v1/pleroma/admin/reports/${reportId}`, {
method: 'PATCH',