fix: don't require lock to cancel

This commit is contained in:
David Perl
2026-09-09 16:22:12 +02:00
parent 85ac38e7ea
commit 75c857ae4b
-1
View File
@@ -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.