Minor fixes to remove issues

This commit is contained in:
2025-02-26 22:52:27 +01:00
parent 76779afd2e
commit 7926cf2f65
2 changed files with 11 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ namespace BasicDotnetTemplate.MainProject.Utils;
public static class ProgramUtils
{
private static readonly string[] _newStringArray = Array.Empty<string>();
private static readonly NLog.Logger Logger = NLog.LogManager.GetCurrentClassLogger();
public static AppSettings AddConfiguration(ref WebApplicationBuilder builder, string? path = "", string? filename = "")
@@ -112,7 +113,7 @@ public static class ProgramUtils
Id = "Bearer"
}
},
new string[] {}
_newStringArray
},
{
new OpenApiSecurityScheme
@@ -123,7 +124,7 @@ public static class ProgramUtils
Id = "ApiKey"
}
},
new string[] {}
_newStringArray
}
});
});