From 3afee1f1ea670509ed47abc6bbd9a73dccff4c3a Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 1 Jul 2025 16:06:10 +0300 Subject: Add missing keyword arg when applying changes. Signed-off-by: Munyoki Kilyungi --- gn3/api/case_attributes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gn3/api/case_attributes.py') 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", -- cgit 1.4.1