aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ResponseHelper.cs
diff options
context:
space:
mode:
authortelans <telans@protonmail.com>2020-06-20 21:12:36 +1200
committertelans <telans@protonmail.com>2020-06-20 21:12:36 +1200
commit7f307f9082cb4be296e745c2c066334858f000af (patch)
tree4f5e3ca5a628624f631ccf1da9deeed90481d9bc /Emby.Server.Implementations/Services/ResponseHelper.cs
parent98db8f72e01b608e6c384ecf5b107fc2d105b652 (diff)
brace multiline if statements
Diffstat (limited to 'Emby.Server.Implementations/Services/ResponseHelper.cs')
-rw-r--r--Emby.Server.Implementations/Services/ResponseHelper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Services/ResponseHelper.cs b/Emby.Server.Implementations/Services/ResponseHelper.cs
index 3f1672e94b..a329b531d6 100644
--- a/Emby.Server.Implementations/Services/ResponseHelper.cs
+++ b/Emby.Server.Implementations/Services/ResponseHelper.cs
@@ -40,7 +40,9 @@ namespace Emby.Server.Implementations.Services
if (httpResult != null)
{
if (httpResult.RequestContext == null)
+ {
httpResult.RequestContext = request;
+ }
response.StatusCode = httpResult.Status;
}