diff options
| author | Munyoki Kilyungi | 2025-07-01 16:06:10 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-07-07 07:58:31 +0300 |
| commit | 3afee1f1ea670509ed47abc6bbd9a73dccff4c3a (patch) | |
| tree | fff2cfa1f52cf2e936446244533e208d3598462f /gn3/api/case_attributes.py | |
| parent | c1aa1265a4209d5b7a6500880635ec35b6fcea31 (diff) | |
| download | genenetwork3-3afee1f1ea670509ed47abc6bbd9a73dccff4c3a.tar.gz | |
Add missing keyword arg when applying changes.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api/case_attributes.py')
| -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", |
