Fixed missing FlakeName argument
This commit is contained in:
parent
eafc55f2e7
commit
40f4227413
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user