Skip to content

Commit 693f3e5

Browse files
authored
Merge pull request #99 from igorbenav/98-task-endpoint-bug
Fix for get task endpoint bug
2 parents e8e6591 + 677071d commit 693f3e5

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)