about summary refs log tree commit diff
path: root/gn3/db/case_attributes.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-07-02 15:54:25 +0300
committerBonfaceKilz2025-07-07 07:58:31 +0300
commita01fff827dcc933bebf0cbcc34cf54569486c275 (patch)
tree0b53ff5960c3e0e2b0bcf73ab4b2abf3f5500d0f /gn3/db/case_attributes.py
parentb781e34590b028dfc656b787f17a20e0fe1c0638 (diff)
downloadgenenetwork3-a01fff827dcc933bebf0cbcc34cf54569486c275.tar.gz
Rename dict key.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/case_attributes.py')
-rw-r--r--gn3/db/case_attributes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py
index e49fe5d..df09e75 100644
--- a/gn3/db/case_attributes.py
+++ b/gn3/db/case_attributes.py
@@ -220,7 +220,7 @@ def get_changes(cursor, change_type: EditStatus, directory: Path) -> dict:
         "change-type": str(change_type),
         "count": {
             "reviews": len(review_ids),
-            "approval": len(approved_ids),
+            "approvals": len(approved_ids),
             "rejections": len(rejected_ids)
         },
         "data": changes