Skip to content

Commit 802d8aa

Browse files
committed
fix: duplicate fetching of processing jobs
1 parent 310c10d commit 802d8aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/routers/jobs_status.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ async def get_jobs_status(
2424
Return combined list of upscaling tasks and processing jobs for the authenticated user.
2525
"""
2626
logger.debug(f"Fetching jobs list for user {user}")
27-
processing_jobs = get_processing_jobs_by_user_id(db, user)
2827
return JobsStatusResponse(
2928
upscaling_tasks=[], processing_jobs=get_processing_jobs_by_user_id(db, user)
3029
)

0 commit comments

Comments
 (0)