From b3e00786439c4a64babebb26175255f7d26a29bd Mon Sep 17 00:00:00 2001 From: Andrew Parker Date: Wed, 16 Oct 2024 21:00:04 -0400 Subject: [PATCH] prod we go!!! --- .../releaf/backend/Releaf.Api/Controllers/TreesController.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/releaf/backend/Releaf.Api/Controllers/TreesController.cs b/apps/releaf/backend/Releaf.Api/Controllers/TreesController.cs index 8b276af..a773ecc 100644 --- a/apps/releaf/backend/Releaf.Api/Controllers/TreesController.cs +++ b/apps/releaf/backend/Releaf.Api/Controllers/TreesController.cs @@ -18,10 +18,9 @@ public TreesController(ILogger logger, ITreeRepo treeRepo) } [HttpGet] - public IDictionary GetAll(int page, int size) + public IEnumerable GetAll(int page, int size) { - IEnumerable trees = treeRepo.GetAll(page, size); - return trees.ToDictionary(t => t.Id.Value, t => t.Name); + return treeRepo.GetAll(page, size); } [HttpGet("{id}")]