diff --git a/handler/routes.go b/handler/routes.go index 93be480..92302c8 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -821,7 +821,7 @@ func RemoveClient(db store.IStore) echo.HandlerFunc { return c.JSON(http.StatusInternalServerError, jsonHTTPResponse{false, "Cannot delete client from database"}) } - log.Infof("Removed wireguard client: %v", client.Name) + log.Infof("Removed wireguard client: %v", client.ID) return c.JSON(http.StatusOK, jsonHTTPResponse{true, "Client removed"}) } }