Greenstand / Greenstand/treetracker-query-api

A hack to display organization 1642's planter list

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Currently, the planter list on this page is empty: https://map.treetracker.org/organizations/1642
This is correct, because the organization 1642 does have no planter, but the 1642 is a special org in the system, it is a workaround for org 178 (freetown) to display the actual tree rather than capture, we manually put all capture into this org 1642, so we need to do a hack (hard code) workaround for displaying the planter list, which means: the API: `/planters?organization_id=1642` should actually return the result of 178.

---

Some hints:

- Please read our readme for more information/guide/tutorial.
- Here is [an engineering book](https://greenstand.gitbook.io/engineering/) in Greenstand.
- To know more about our organization, visit our [website](https://greenstand.org).
- If you want to join the slack community (some resources need the community member's permission), please leave your email address.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.