Skip to content

Commit

Permalink
fix(dhis2): duplicated rows in analytics response
Browse files Browse the repository at this point in the history
  • Loading branch information
yannforget committed Aug 2, 2023
1 parent 4842d35 commit 45ec0ec
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 @@ -782,7 +782,7 @@ def to_data_values(response: dict) -> List[dict]:
data_value = {}
for i, header in enumerate(response["headers"]):
data_value[header["name"]] = row[i]
data_values.append(data_value)
data_values.append(data_value)
return data_values

def get(
Expand Down

0 comments on commit 45ec0ec

Please sign in to comment.