From df6400664c6097e04dbaa968cebb4fdedb41c487 Mon Sep 17 00:00:00 2001 From: Yann Forget Date: Tue, 13 Aug 2024 12:15:16 +0200 Subject: [PATCH] fix(dhis2): allow single lastUpdated param (#50) --- openhexa/toolbox/dhis2/dhis2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhexa/toolbox/dhis2/dhis2.py b/openhexa/toolbox/dhis2/dhis2.py index 911c17d..47593b7 100644 --- a/openhexa/toolbox/dhis2/dhis2.py +++ b/openhexa/toolbox/dhis2/dhis2.py @@ -544,7 +544,7 @@ def get( """ what = data_elements or datasets or data_element_groups where = org_units or org_unit_groups - when = (start_date and end_date) or periods + when = (start_date and end_date) or periods or last_updated or last_updated_duration if not what: raise DHIS2Error("No data dimension provided") if not where: