Fixed missing FlakeName argument

This commit is contained in:
Qubasa
2023-10-27 18:28:16 +02:00
parent 1a2e117523
commit 7256c35c26

View File

@@ -47,7 +47,7 @@ async def create_machine(
@router.get("/api/{flake_name}/machines/{name}")
async def get_machine(name: str) -> MachineResponse:
async def get_machine(flake_name: FlakeName, name: str) -> MachineResponse:
log.error("TODO")
return MachineResponse(machine=Machine(name=name, status=Status.UNKNOWN))