Refactor(api/update_machine): rename to set_machine; use name, flake

This commit is contained in:
Johannes Kirschbauer
2025-06-09 11:38:15 +02:00
parent e24a197062
commit ebf3964197
2 changed files with 16 additions and 3 deletions

View File

@@ -411,7 +411,7 @@ const MachineForm = (props: MachineDetailsProps) => {
return;
}
const machine_response = await callApi("update_machine", {
const machine_response = await callApi("set_machine", {
machine: {
name: props.initialData.machine.name || "My machine",
flake: {