developmentseed / developmentseed/observe-api

GET /osmobjects/stats not returning places count for campaign area

Open
#105 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.