enable routes

This commit is contained in:
Fran Jurmanović
2024-07-14 20:09:50 +02:00
parent edd1806de9
commit 6e91c02de7
8 changed files with 78 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ func (ac *ApiController) getFirst(c *fiber.Ctx) error {
// @Router /v1/api [post]
func (ac *ApiController) startServer(c *fiber.Ctx) error {
c.Locals("service", "ACC-Server")
apiModel, err := ac.service.StartServer(c)
apiModel, err := ac.service.ApiStartServer(c)
if err != nil {
return c.SendStatus(400)
}