mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
3025ac577b
* search orgs * org by domain * member spooler * member * get roles * tests * types duration * use default func for renew * correct database * reorder migrations * delete unused consts * move get roles to internal * use prepared org by domain * implement org in other objects * add eventstores
18 lines
411 B
Go
18 lines
411 B
Go
package view
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/view"
|
|
)
|
|
|
|
const (
|
|
errTable = "admin_api.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)
|
|
}
|