diff --git a/NDB.Logging.Api/RequestLoggingAttribute.cs b/NDB.Logging.Api/RequestLoggingAttribute.cs index 183700f..c0017a4 100644 --- a/NDB.Logging.Api/RequestLoggingAttribute.cs +++ b/NDB.Logging.Api/RequestLoggingAttribute.cs @@ -25,7 +25,7 @@ namespace NDB.Logging.Api stopWatch.Start(); var uid = Guid.NewGuid(); - var request = (HttpRequest)((ControllerBase)context.Controller).Request; + var request = ((ControllerBase)context.Controller).Request; var requestUrl = request.Path; if (request.QueryString != null && request.QueryString.HasValue)