fix: pass vmid=0 to analyze — vmid removed from session_analyze params but still needed by backend
This commit is contained in:
parent
cc3130a1d1
commit
0f60e22612
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ async def session_analyze(
|
|||
backend_filename = f"{session_id}/in/{filename}" if session_id else filename
|
||||
|
||||
try:
|
||||
analysis = api.analyze(vmid=vmid, filename=backend_filename)
|
||||
analysis = api.analyze(vmid=0, filename=backend_filename)
|
||||
except ApiError as exc:
|
||||
return JSONResponse({"phase": "error", "error": f"Backend analysis failed: {exc.detail}"}, status_code=502)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue