aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-07-01 16:06:10 +0300
committerBonfaceKilz2025-07-07 07:58:31 +0300
commit3afee1f1ea670509ed47abc6bbd9a73dccff4c3a (patch)
treefff2cfa1f52cf2e936446244533e208d3598462f /gn3
parentc1aa1265a4209d5b7a6500880635ec35b6fcea31 (diff)
downloadgenenetwork3-3afee1f1ea670509ed47abc6bbd9a73dccff4c3a.tar.gz
Add missing keyword arg when applying changes.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/case_attributes.py6
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",