knerw this was prolly a bad idea
Some checks are pending
/ test-build-and-push (push) Waiting to run

This commit is contained in:
notfire 2025-03-30 22:24:13 -04:00
parent eacd513459
commit 05ad5a4856
Signed by: notfire
GPG key ID: 3AFDACAAB4E56B16

View file

@ -88,7 +88,7 @@ public class AdminController(
[HttpPatch("/api/v1/pleroma/admin/reports")] [HttpPatch("/api/v1/pleroma/admin/reports")]
[Authenticate("admin:read:reports")] [Authenticate("admin:read:reports")]
[ProducesResults(HttpStatusCode.OK)] [ProducesResults(HttpStatusCode.OK)]
public async Task<Task<ReportsQuery>> SetReportState(ReportsQuery query) public async void SetReportState(ReportsQuery query)
{ {
var user = HttpContext.GetUserOrFail(); var user = HttpContext.GetUserOrFail();
@ -101,7 +101,5 @@ public class AdminController(
await db.SaveChangesAsync(); await db.SaveChangesAsync();
} }
return this.GetReports();
} }
} }