fix(sfm): an audit row can be finished once, from pending -- anything else raises
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
1 parent
fb9b48f259
commit
ff0cce1cb2
3 files changed
+34
-3
No files matched your search
+1
-1
@@ -3083,7 +3083,7 @@ def db_sessions(
|
||||
@app.get("/db/device_commands")
|
||||
def db_device_commands(
|
||||
serial: Optional[str] = Query(None, description="Filter by unit serial"),
|
||||
limit: int = Query(100, description="Max rows to return"),
|
||||
limit: int = Query(100, ge=1, le=1000, description="Max rows to return"),
|
||||
) -> dict:
|
||||
"""
|
||||
The audit trail of changes SFM attempted on units, newest first.
|
||||
|
||||
Reference in new issue
Block a user