Skip to content

Commit

Permalink
Job queue admin get bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatoriu committed Sep 4, 2024
1 parent 902e296 commit 1117165
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/endpoints/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def get(self):
for o in orgs_query:
if o.OrganizationJobQueue.job_queue_id == q.id:
queue['orgs'].append({
'id': q.Organization.id,
'org_name': q.Organization.name,
'default_job_limit_count': q.Organization.default_job_limit_count,
'default_job_limit_hours': q.Organization.default_job_limit_hours
'id': o.Organization.id,
'org_name': o.Organization.name,
'default_job_limit_count': o.Organization.default_job_limit_count,
'default_job_limit_hours': o.Organization.default_job_limit_hours
})

result.append(queue)
Expand Down

0 comments on commit 1117165

Please sign in to comment.