diff --git a/src/backend/app/tasks/tasks_routes.py b/src/backend/app/tasks/tasks_routes.py index cb3e27c9ca..e45883b68a 100644 --- a/src/backend/app/tasks/tasks_routes.py +++ b/src/backend/app/tasks/tasks_routes.py @@ -38,7 +38,7 @@ ) -@router.get("/task-list", response_model=List[tasks_schemas.Task]) +@router.get("/task-list", response_model=List[tasks_schemas.TaskOut]) async def read_task_list( project_id: int, limit: int = 1000, diff --git a/src/backend/app/tasks/tasks_schemas.py b/src/backend/app/tasks/tasks_schemas.py index dbe99833d7..6a141d7c8f 100644 --- a/src/backend/app/tasks/tasks_schemas.py +++ b/src/backend/app/tasks/tasks_schemas.py @@ -79,6 +79,7 @@ class Task(TaskBase): class TaskOut(TaskBase): + qr_code_base64: str task_status_str: TaskStatusOption pass