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