Skip to content

Commit

Permalink
refactor: generate uuid for background tasks automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 21, 2023
1 parent 9e26166 commit 3deff1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/backend/app/projects/project_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,6 @@ async def get_background_task_status(task_id: uuid.UUID, db: Session):
if not task:
log.warning(f"No background task with found with UUID: {task_id}")
raise HTTPException(status_code=404, detail="Task not found")

return task.status, task.message


Expand Down

0 comments on commit 3deff1a

Please sign in to comment.