Skip to content

Commit 78e07af

Browse files
authored
Merge pull request #1202 from transformerlab/fix/missed-await
Fix missed await for quota
2 parents 6d79e6a + d354823 commit 78e07af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/transformerlab/services/quota_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ async def ensure_quota_recorded_for_completed_job(
290290
from sqlalchemy import select
291291

292292
# Get the job
293-
job = job_service.job_get(job_id)
293+
job = await job_service.job_get(job_id)
294294
if not job:
295295
return False
296296

0 commit comments

Comments
 (0)