Fix POST to drivers not using payload wrapper for install
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
2e6fffe02b
commit
b63939497d
|
@ -90,7 +90,9 @@ class DriversController(SubiquityController):
|
|||
await self.configured()
|
||||
else:
|
||||
# TODO Remove this once we have the GUI controller.
|
||||
await self.POST(install=True)
|
||||
await self.POST(data=DriversPayload(
|
||||
install=True,
|
||||
))
|
||||
|
||||
async def GET(self, wait: bool = False) -> DriversResponse:
|
||||
if wait:
|
||||
|
|
Loading…
Reference in New Issue