fix access key middleware

This commit is contained in:
Fran Jurmanović
2025-07-30 01:58:25 +02:00
parent 687b406727
commit 68a22e6d5d
2 changed files with 6 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ func NewServiceControlController(as *service.ServiceControlService, routeGroups
errorHandler: error_handler.NewControllerErrorHandler(),
}
serviceRoutes := routeGroups.Server.Group("/service")
serviceRoutes := routeGroups.Server.Group("/:id/service")
serviceRoutes.Get("/:service", ac.getStatus)
serviceRoutes.Post("/start", ac.startServer)
serviceRoutes.Post("/stop", ac.stopServer)