diff --git a/src/Catalog.API/Apis/CatalogApi.cs b/src/Catalog.API/Apis/CatalogApi.cs index 42d9d3b4d..ab3179e35 100644 --- a/src/Catalog.API/Apis/CatalogApi.cs +++ b/src/Catalog.API/Apis/CatalogApi.cs @@ -122,7 +122,6 @@ public static async Task>> GetAllItemsV1( [AsParameters] PaginationRequest paginationRequest, [AsParameters] CatalogServices services) { - return await GetAllItems(paginationRequest, services, null, null, null); } diff --git a/src/WebApp/Extensions/Extensions.cs b/src/WebApp/Extensions/Extensions.cs index ceb910b84..5c0c03a0b 100644 --- a/src/WebApp/Extensions/Extensions.cs +++ b/src/WebApp/Extensions/Extensions.cs @@ -37,7 +37,7 @@ public static void AddApplicationServices(this IHostApplicationBuilder builder) .AddAuthToken(); builder.Services.AddHttpClient(o => o.BaseAddress = new("http://catalog-api")) - .AddApiVersion(1.0) + .AddApiVersion(2.0) .AddAuthToken(); builder.Services.AddHttpClient(o => o.BaseAddress = new("http://ordering-api"))