This commit is contained in:
parent
15e374d7d0
commit
f0a67dc66d
|
|
@ -136,7 +136,7 @@ async def get_task_status(task_id: str):
|
||||||
Raises:
|
Raises:
|
||||||
HTTPException: If task not found
|
HTTPException: If task not found
|
||||||
"""
|
"""
|
||||||
task = task_manager.get_task(task_id)
|
task = task_manager.get_task_status(task_id)
|
||||||
|
|
||||||
if not task:
|
if not task:
|
||||||
raise HTTPException(status_code=404, detail=f"Task {task_id} not found")
|
raise HTTPException(status_code=404, detail=f"Task {task_id} not found")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue