🐛 Fix abuse report have no default status

This commit is contained in:
2024-12-12 00:32:43 +08:00
parent afc2ec80e9
commit 94e55a6d4e
2 changed files with 5 additions and 4 deletions

View File

@ -67,6 +67,7 @@ func NewAbuseReport(resource string, reason string, account models.Account) (mod
report = models.AbuseReport{
Resource: resource,
Reason: reason,
Status: models.ReportStatusPending,
AccountID: account.ID,
}