feat: refac and add key deletion route
This commit is contained in:
@@ -30,7 +30,7 @@ func Kickoff(logger *slog.Logger, env bootstrap.Environment, db *gorm.DB) {
|
||||
}
|
||||
|
||||
api := r.Group("/api")
|
||||
routes.RegisterApiRoutes(api, db)
|
||||
routes.RegisterApiRoutes(api, env)
|
||||
// also register the 2 api subroutes
|
||||
routes.RegisterKeyRoutes(api, db)
|
||||
routes.RegisterCtrlRoutes(api, db)
|
||||
|
||||
Reference in New Issue
Block a user