From 4f986fbab82f0c7e6fbfad1c9e54764980aee1a1 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 4 Nov 2019 00:54:54 +0200 Subject: [PATCH] remove unnecessary cast --- NDB.Logging.Api/RequestLoggingAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)