knerw this was prolly a bad idea
Some checks are pending
/ test-build-and-push (push) Waiting to run
Some checks are pending
/ test-build-and-push (push) Waiting to run
This commit is contained in:
parent
eacd513459
commit
05ad5a4856
1 changed files with 1 additions and 3 deletions
|
@ -88,7 +88,7 @@ public class AdminController(
|
|||
[HttpPatch("/api/v1/pleroma/admin/reports")]
|
||||
[Authenticate("admin:read:reports")]
|
||||
[ProducesResults(HttpStatusCode.OK)]
|
||||
public async Task<Task<ReportsQuery>> SetReportState(ReportsQuery query)
|
||||
public async void SetReportState(ReportsQuery query)
|
||||
{
|
||||
var user = HttpContext.GetUserOrFail();
|
||||
|
||||
|
@ -101,7 +101,5 @@ public class AdminController(
|
|||
|
||||
await db.SaveChangesAsync();
|
||||
}
|
||||
|
||||
return this.GetReports();
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue