From 3c90301bbbfcdd37873f991cc8b0d9b326e37f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onurkan=20Bak=C4=B1rc=C4=B1?= Date: Mon, 21 Mar 2022 15:53:14 +0300 Subject: [PATCH] Syntax err edited. --- src/Services/Catalog/Catalog.API/Startup.cs | 1 - src/Services/Identity/Identity.API/Startup.cs | 1 - src/Services/Webhooks/Webhooks.API/Startup.cs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Services/Catalog/Catalog.API/Startup.cs b/src/Services/Catalog/Catalog.API/Startup.cs index 0f0e75361..6320a7091 100644 --- a/src/Services/Catalog/Catalog.API/Startup.cs +++ b/src/Services/Catalog/Catalog.API/Startup.cs @@ -242,7 +242,6 @@ public static class CustomExtensionMethods Name = "Microsoft License", Url = new Uri("https://microsoft.com/license") } - }); }); return services; diff --git a/src/Services/Identity/Identity.API/Startup.cs b/src/Services/Identity/Identity.API/Startup.cs index 51b1d4f8e..2fbcf7feb 100644 --- a/src/Services/Identity/Identity.API/Startup.cs +++ b/src/Services/Identity/Identity.API/Startup.cs @@ -109,7 +109,6 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API Name = "Microsoft License", Url = new Uri("https://microsoft.com/") } - }); }); var container = new ContainerBuilder(); diff --git a/src/Services/Webhooks/Webhooks.API/Startup.cs b/src/Services/Webhooks/Webhooks.API/Startup.cs index 35ccf8f88..c57f3f962 100644 --- a/src/Services/Webhooks/Webhooks.API/Startup.cs +++ b/src/Services/Webhooks/Webhooks.API/Startup.cs @@ -139,7 +139,7 @@ static class CustomExtensionMethods { services.AddSwaggerGen(options => { - var basePath = AppDomain.CurrentDomain.BaseDirectory; + var basePath = AppDomain.CurrentDomain.BaseDirectory; var fileName = typeof(Startup).GetTypeInfo().Assembly.GetName().Name + ".xml"; var xmlComments = Path.Combine(basePath, fileName); options.IncludeXmlComments(xmlComments);