Normalize cr/lf/tab

This commit is contained in:
Stephan
2017-07-20 11:21:28 +02:00
parent fa6c147a65
commit c76403077f
2466 changed files with 26012 additions and 26010 deletions

View File

@@ -16,7 +16,7 @@ using Umbraco.Web.Models.ContentEditing;
namespace Umbraco.Web.WebApi
{
public static class HttpRequestMessageExtensions
{
@@ -28,8 +28,8 @@ namespace Umbraco.Web.WebApi
internal static Attempt<IOwinContext> TryGetOwinContext(this HttpRequestMessage request)
{
var httpContext = request.TryGetHttpContext();
return httpContext
? Attempt.Succeed(httpContext.Result.GetOwinContext())
return httpContext
? Attempt.Succeed(httpContext.Result.GetOwinContext())
: Attempt<IOwinContext>.Fail();
}