mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02: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:
@ -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"`
|
||||
|
Reference in New Issue
Block a user