mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-14 02:17:27 -06:00
[feature] Implement reports admin API so admins can view + close reports (#1378)
* add admin report api endpoints + tests * [chore] remove funky duplicate attachment in testrig
This commit is contained in:
parent
27d4e364e0
commit
faeb7ded3b
20 changed files with 2674 additions and 72 deletions
|
|
@ -1947,7 +1947,7 @@ func NewTestReports() map[string]*gtsmodel.Report {
|
|||
Forwarded: TrueBool(),
|
||||
ActionTaken: "user was warned not to be a turtle anymore",
|
||||
ActionTakenAt: TimeMustParse("2022-05-15T17:01:56+02:00"),
|
||||
ActionTakenByAccountID: "01AY6P665V14JJR0AFVRT7311Y",
|
||||
ActionTakenByAccountID: "01F8MH17FWEB39HZJ76B6VXSKF",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue