Skip to content

Commit

Permalink
Org put endpoint bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatoriu committed Sep 4, 2024
1 parent 6355ec2 commit 198fd01
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 @@ -180,7 +180,7 @@ def put(self, org_id):
return err_response(msg="No org found with id " + org_id)

org.name = req_data.get("name", org.name)
org.parent_id = req_data.get("parent_org_id", org.parent_id)
org.parent_org_id = req_data.get("parent_org_id", org.parent_org_id)
org.default_job_limit_count = req_data.get("default_job_limit_count", org.default_job_limit_count)
org.default_job_limit_hours = req_data.get("default_job_limit_hours", org.default_job_limit_hours)
db.session.commit()
Expand Down

0 comments on commit 198fd01

Please sign in to comment.