diff --git a/server/models/GrowerAccount.ts b/server/models/GrowerAccount.ts index 242c67f4..9f797b5e 100644 --- a/server/models/GrowerAccount.ts +++ b/server/models/GrowerAccount.ts @@ -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`, };