developmentseed / developmentseed/observe-api
GET /osmobjects/stats not returning places count for campaign area
Open
bug
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The request https://plasticwatch.ds.io/osmobjects/stats?campaignId=1 is returning:
```
{
placesCount: 90,
nonPlasticPlacesCount: 38,
surveyedPlacesCount: 90,
surveyorsCount: 21
}
```
When filter `campaignId` is passed, the value of `placesCount` should be the number of places in campaign area. Currently it is the number of surveyed places.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.