Refactor(cli): name set_inv_machine back to set_machine

We don't want to leak information about our internals
Such as 'inv' meaning 'inventory' this is not important from the outside
This commit is contained in:
Johannes Kirschbauer
2025-05-16 17:44:22 +02:00
parent ec22a098e6
commit 64e3d84cab
3 changed files with 6 additions and 6 deletions

View File

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