Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
VP-5032: Fix vc-demo-storefront SonarCloud Critical CodeSmels
Browse files Browse the repository at this point in the history
Change the visibility of 'SwaggerDocName' or make it 'const' or 'readonly'.
  • Loading branch information
trueboroda committed Oct 15, 2020
1 parent 46865ea commit 00f3492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VirtoCommerce.Storefront/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace VirtoCommerce.Storefront
{
public class Startup
{
public static string SwaggerDocName = "v1";
public static readonly string SwaggerDocName = "v1";
private static string oauth2SchemeName = "oauth2";

public Startup(IConfiguration configuration, IWebHostEnvironment hostingEnviroment)
Expand Down

0 comments on commit 00f3492

Please sign in to comment.