mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-29 07:40:07 +08:00
feat: add audit logs
This commit is contained in:
@ -31,5 +31,10 @@ func NewPrivateRouter(persister persistence.Persister) *echo.Echo {
|
||||
user.PATCH("/:id", userHandler.Patch)
|
||||
user.GET("", userHandler.List)
|
||||
|
||||
auditLogHandler := handler.NewAuditLogHandler(persister)
|
||||
|
||||
auditLogs := e.Group("/audit_logs")
|
||||
auditLogs.GET("", auditLogHandler.List)
|
||||
|
||||
return e
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user