Skip to content

Commit

Permalink
fix(dhis2): allow single lastUpdated param (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannforget authored Aug 13, 2024
1 parent 6873358 commit df64006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhexa/toolbox/dhis2/dhis2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df64006

Please sign in to comment.