Skip to content

Commit

Permalink
Remove unused helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
amos-cha committed Jul 13, 2023
1 parent 57f2632 commit 01a336c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Gordon360/Utilities/Logger/LoggerMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,6 @@ public async Task InvokeAsync(HttpContext httpContext, RequestDelegate next)
_context.SaveChanges();
}

/// <summary>
/// Picks User-Agent out of given headers, defaults to empty string
/// </summary>
/// <param name="headers"></param>
/// <returns></returns>
private string GetUserAgent(IHeaderDictionary headers)
{
if (headers.UserAgent is StringValues UA)
return UA;
return "";
}

/// <summary>
/// Returns length of response content, defaults to 0
/// </summary>
Expand Down

0 comments on commit 01a336c

Please sign in to comment.