Skip to content

Commit

Permalink
fix: remove v2 and let's the client to decide the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen authored May 20, 2023
1 parent d1e064c commit bb8e730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/GrowerAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getByName(

function getGrowerAccountLinks(planter) {
const links = {
featured_trees: `/v2/trees?planter_id=${planter.id}&limit=20&offset=0`,
featured_trees: `/trees?planter_id=${planter.id}&limit=20&offset=0`,
associated_organizations: `/organizations?planter_id=${planter.id}&limit=20&offset=0`,
species: `/species?planter_id=${planter.id}&limit=20&offset=0`,
};
Expand Down

0 comments on commit bb8e730

Please sign in to comment.