Merged in feature/demo (pull request #116)

Demo prep + Fix client sync

* firstversion

* clientsync

* configlint

* fixtests
This commit is contained in:
Michael McGuinness
2025-04-22 19:57:35 +00:00
parent fee71e7740
commit 47fec079e5
21 changed files with 642 additions and 41 deletions
+2 -1
View File
@@ -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,
})