feat: add audit logs

This commit is contained in:
Frederic Jahn
2022-08-18 16:53:34 +02:00
parent 7557c2e1e7
commit f02bccb685
23 changed files with 663 additions and 115 deletions

View File

@ -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
}