socialappslab / denguechat

Using mobile phones and gaming tactics to engage citizens in reporting public health risks
https://www.denguechat.org/
Other
0 stars 0 forks source link

Chart data endpoints are not working properly and should return the last 3 months of "active" data #960

Closed cdparra closed 3 years ago

cdparra commented 3 years ago

"Gráfico de casas verdes" y "Cambio en Riesgo en Tu Barrio.." look empty in Asunción because the last three active months were in 2019, but we need to show those last three months in the charts.

image

@gvescu has updated the services to provide this response, but they are having issues.

GET https://www.denguechat.org/api/v0/graph/green_locations?city=9 is returning error 500

image

Fixe the endpoint and make sure it returns the 3 last active months

Estimated effort: 5h

sofiarivas93 commented 3 years ago

This issue is already solved... image