Merged in feature/demo (pull request #116)
Demo prep + Fix client sync * firstversion * clientsync * configlint * fixtests
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"queryorchestration/internal/client"
|
||||
clientupdate "queryorchestration/internal/client/update"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
@@ -47,7 +48,7 @@ func (s *Controllers) UpdateClient(ctx echo.Context, id ClientID) error {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, err)
|
||||
}
|
||||
|
||||
err := s.svc.Client.Update(ctx.Request().Context(), id, &client.Update{
|
||||
err := s.svc.ClientUpdate.Update(ctx.Request().Context(), id, &clientupdate.Update{
|
||||
Name: req.Name,
|
||||
CanSync: req.CanSync,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user