submissions: AuditEventTypeError

This commit is contained in:
Quaternions 2025-04-09 20:06:08 -07:00
parent 4f586c6176
commit f25be9dc4e
Signed by: Quaternions
GPG Key ID: D0DF5964F79AC131

@ -42,6 +42,12 @@ type AuditEventDataChangeName struct {
NewName string `json:"new_name"`
}
// Validator had an error
const AuditEventTypeError AuditEventType = 6
type AuditEventDataError struct {
Error string `json:"error"`
}
type AuditEvent struct {
ID int64 `gorm:"primaryKey"`
CreatedAt time.Time