diff options
| -rw-r--r-- | gn3/api/case_attributes.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gn3/api/case_attributes.py b/gn3/api/case_attributes.py index 76e32aa..2fd8495 100644 --- a/gn3/api/case_attributes.py +++ b/gn3/api/case_attributes.py @@ -221,7 +221,11 @@ def edit_case_attributes(inbredset_id: int, auth_token=None) -> Response: inbredset_id, ("system:inbredset:edit-case-attribute", "system:inbredset:apply-case-attribute-edit")) - match apply_change(cursor, change_type=EditStatus.approved, directory=directory): + match apply_change( + cursor, change_type=EditStatus.approved, + change_id=_id, + directory=directory + ): case True: return jsonify({ "diff-status": "applied", |
