diff --git a/main.go b/main.go index 6ad7b77..5bc3a38 100644 --- a/main.go +++ b/main.go @@ -96,9 +96,9 @@ func main() { }) // Create a new app - // If you add register=1 into query string, it won't start or create any container, just adds record into the database. + // If you add register_only=1 into query string, it won't start or create any container, just adds record into the database. e.POST("/v1/apps", func(c echo.Context) error { - registerOnly := c.QueryParam("register") == "1" + registerOnly := c.QueryParam("register_only") == "1" app := apps.App{} err := c.Bind(&app)