diff --git a/internal/home/clientshttp.go b/internal/home/clientshttp.go index 20d6080f..0bbdea9c 100644 --- a/internal/home/clientshttp.go +++ b/internal/home/clientshttp.go @@ -378,6 +378,8 @@ func (clients *clientsContainer) handleUpdateClient(w http.ResponseWriter, r *ht if !ok { aghhttp.Error(r, w, http.StatusBadRequest, "client not found") + + return } c, err := clients.jsonToClient(dj.Data, prev)