From 4de566ee412635c91d048bbf8438cefb31cab742 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 26 Apr 2023 01:21:23 +0100 Subject: [PATCH] Cleanup --- src/isnd/Controllers/Packages/PackagesController.Catalog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isnd/Controllers/Packages/PackagesController.Catalog.cs b/src/isnd/Controllers/Packages/PackagesController.Catalog.cs index f3c4488..cc2b60c 100644 --- a/src/isnd/Controllers/Packages/PackagesController.Catalog.cs +++ b/src/isnd/Controllers/Packages/PackagesController.Catalog.cs @@ -35,7 +35,7 @@ namespace isnd.Controllers }; var index = await packageManager.GetPackageRegistrationIndexAsync(query); if (index == null) return NotFound(); - // query.TotalHits = result.Items.Select(i=>i.Items.Length).Aggregate((a,b)=>a+b); + return Ok(index); } // return a Package