fix: don't require lock to cancel

This commit is contained in:
David Perl
2026-09-09 22:56:21 +02:00
committed by perl_d
parent ad9235262a
commit 8b62da1318
-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.