Browse Source

Refactor redundant null check in the 'brand' variable assignment

pull/2053/head
Sultan Soltanov 1 year ago
parent
commit
0654a2966a
No known key found for this signature in database GPG Key ID: F2476AD2A719780D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Web/WebMVC/Infrastructure/API.cs

+ 1
- 1
src/Web/WebMVC/Infrastructure/API.cs View File

@ -61,7 +61,7 @@ public static class API
}
else if (brand.HasValue)
{
var brandQs = (brand.HasValue) ? brand.Value.ToString() : string.Empty;
var brandQs = brand.Value.ToString();
filterQs = $"/type/all/brand/{brandQs}";
}
else


Loading…
Cancel
Save