Skip to content

Commit

Permalink
Org delete endpoint bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatoriu committed Sep 4, 2024
1 parent 183f86e commit 8ffb73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/endpoints/organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def delete(self, org_id):

# Clear job queues
db.session.execute(
db.delete(JobQueue).filter_by(org_id=org_id)
db.delete(OrganizationJobQueue).filter_by(org_id=org_id)
)
db.session.commit()

Expand Down

0 comments on commit 8ffb73f

Please sign in to comment.