submissions: AuditEventTypeError
This commit is contained in:
parent
fa1b44f172
commit
12ca1b7dab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user