Skip to content

Commit

Permalink
prod we go!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Beslogic committed Oct 17, 2024
1 parent 669dd9b commit b3e0078
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/releaf/backend/Releaf.Api/Controllers/TreesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ public TreesController(ILogger<TreesController> logger, ITreeRepo treeRepo)
}

[HttpGet]
public IDictionary<string, string> GetAll(int page, int size)
public IEnumerable<TreeDefinitionAggregate> GetAll(int page, int size)
{
IEnumerable<TreeDefinitionAggregate> trees = treeRepo.GetAll(page, size);
return trees.ToDictionary(t => t.Id.Value, t => t.Name);
return treeRepo.GetAll(page, size);
}

[HttpGet("{id}")]
Expand Down

0 comments on commit b3e0078

Please sign in to comment.