diff --git a/pkg/model/audit_event.go b/pkg/model/audit_event.go index 998f76d..53b0632 100644 --- a/pkg/model/audit_event.go +++ b/pkg/model/audit_event.go @@ -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