Refactor(api/update_machine): rename to set_machine; use name, flake
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user