fix: stabilize im audit endpoints

This commit is contained in:
richjohnrambo
2026-08-20 22:34:36 +08:00
parent 3e1ce5df26
commit 6c6d2f6d3b
6 changed files with 151 additions and 34 deletions
+6 -6
View File
@@ -29,12 +29,12 @@ type RiskChallenge struct {
}
type AbuseReason struct {
TargetType string
ReasonCode string
Label string
RequiresDescription bool
AllowsEvidence bool
SortOrder int
TargetType string `db:"target_type"`
ReasonCode string `db:"reason_code"`
Label string `db:"label"`
RequiresDescription bool `db:"requires_description"`
AllowsEvidence bool `db:"allows_evidence"`
SortOrder int `db:"sort_order"`
}
type AbuseTarget struct {