fix: don't require lock to cancel
This commit is contained in:
@@ -1723,7 +1723,6 @@ async def set_smart_params(p: SimpleScanParameters, token: str = Depends(oauth2_
|
||||
|
||||
|
||||
@app.post("/scan/cancel")
|
||||
@needs_hw_lock
|
||||
async def cancel(token: str = Depends(oauth2_scheme)):
|
||||
"""
|
||||
Cancel the currently running scan or automation.
|
||||
|
||||
Reference in New Issue
Block a user