Closed bradley-holt closed 12 years ago
This is fairly trivial and low priority, but the number of votes should always be an integer value. In some cases they are string values.
curl 'https://example.org/town-meeting-season-2011/ward-1/ward-1-city-council' \ -H 'Accept: application/json'
{ "title":"Ward 1 City Council", … "results":{ "Sharon Bushor (I) ":{ "votes":"416", "percent":100, "winner":true, "complete":true } } }
{ "title":"Ward 1 City Council", … "results":{ "Sharon Bushor (I) ":{ "votes":416, "percent":100, "winner":true, "complete":true } } }
This is only applicable to the JSON representation of results.
599978c
code updated on live and dev, looking good.
Looks good to me.
Description
This is fairly trivial and low priority, but the number of votes should always be an integer value. In some cases they are string values.
Steps to Reproduce
Actual Results
Expected Results
Additional Comments
This is only applicable to the JSON representation of results.