Skip to content

Commit

Permalink
issues/2002: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenameur authored and raman-m committed Apr 5, 2024
1 parent 7ae47a8 commit 8a32b67
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,13 @@ private static string MergeQueryStringsWithoutDuplicateValues(string queryString

// Remove old replaced query parameters
foreach (var queryKey in queries.AllKeys)
{
var matchingPlaceholder = placeholders.FirstOrDefault(placeholder => queryKey == placeholder.Name.Trim(OpeningBrace, ClosingBrace));
if (matchingPlaceholder != null)
{
queries.Remove(queryKey);
}
}
}
{
var matchingPlaceholder = placeholders.FirstOrDefault(placeholder => queryKey == placeholder.Name.Trim(OpeningBrace, ClosingBrace));
if (matchingPlaceholder != null)
{
queries.Remove(queryKey);
}
}

var parameters = newQueries.AllKeys
.Where(key => !string.IsNullOrEmpty(key))
Expand Down

0 comments on commit 8a32b67

Please sign in to comment.