Skip to content

Commit

Permalink
#H5IS
Browse files Browse the repository at this point in the history
Should have been an extension method, but missed the "this" keyword 🤦‍♂️
  • Loading branch information
abjerner committed Feb 15, 2022
1 parent d21d9e0 commit f9a7265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Skybrud.Essentials.AspNetCore/QueryStringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public static bool GetBoolean(this IQueryCollection query, string key, bool fall
/// </summary>
/// <param name="query">The query string to be encoded.</param>
/// <returns>The URL encoded version of the query string.</returns>
public static string ToUrlEncodedString(IQueryCollection query) {
public static string ToUrlEncodedString(this IQueryCollection query) {

StringBuilder sb = new();

Expand Down

0 comments on commit f9a7265

Please sign in to comment.