fix: /reboot should reboot and not shutdown

This commit is contained in:
fusion44 2022-07-23 13:59:38 +02:00
parent 2a11b21a83
commit ce8be908ac
No known key found for this signature in database
GPG key ID: 645FA807E935D9D5

View file

@ -172,7 +172,7 @@ async def hw_info_sub(request: Request):
dependencies=[Depends(JWTBearer())],
)
async def reboot_system() -> bool:
return await shutdown(False)
return await shutdown(reboot=True)
@router.post(