mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
fix: /reboot should reboot and not shutdown
This commit is contained in:
parent
2a11b21a83
commit
ce8be908ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue