Skip to content

Commit 677071d

Browse files
committed
Fix for get task endpoint bug
1 parent e8e6591 commit 677071d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/api/v1/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ async def get_task(task_id: str) -> dict[str, Any] | None:
4444
"""
4545
job = ArqJob(task_id, queue.pool)
4646
job_info: dict = await job.info()
47-
return job_info
47+
return vars(job_info)

0 commit comments

Comments
 (0)