mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 06:02:26 -05: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
|
|
@ -38,7 +38,7 @@ type Report struct {
|
|||
// If an action was taken, what comment was made by the admin on the taken action?
|
||||
// Will be null if not set / no action yet taken.
|
||||
// example: Account was suspended.
|
||||
ActionComment *string `json:"action_taken_comment"`
|
||||
ActionTakenComment *string `json:"action_taken_comment"`
|
||||
// Under what category was this report created?
|
||||
// example: spam
|
||||
Category string `json:"category"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue