mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-19 06:17:32 +00:00
18 lines
407 B
Go
18 lines
407 B
Go
|
package view
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/view"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
errTable = "authz.failed_event"
|
||
|
)
|
||
|
|
||
|
func (v *View) saveFailedEvent(failedEvent *view.FailedEvent) error {
|
||
|
return view.SaveFailedEvent(v.Db, errTable, failedEvent)
|
||
|
}
|
||
|
|
||
|
func (v *View) latestFailedEvent(viewName string, sequence uint64) (*view.FailedEvent, error) {
|
||
|
return view.LatestFailedEvent(v.Db, errTable, viewName, sequence)
|
||
|
}
|