aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
diff options
context:
space:
mode:
authorSenorSmartyPants <senorsmartypants@gmail.com>2022-01-08 19:53:53 -0600
committerSenorSmartyPants <senorsmartypants@gmail.com>2022-01-08 19:53:53 -0600
commitd5e7e754215d5e2d83e53e8a7898c01195c0d5b3 (patch)
tree61ab713729410e3732f9baec0411edc432909705 /Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
parent3ea54a8009617998e7250a39e33a9da3440a9631 (diff)
Remove unused httpContext parameter
Diffstat (limited to 'Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs')
-rw-r--r--Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs b/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
index c99b911bb..5bdd3fe2e 100644
--- a/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
+++ b/Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
@@ -51,12 +51,10 @@ namespace Jellyfin.Api.Helpers
/// </summary>
/// <param name="path">The path to the file.</param>
/// <param name="contentType">The content type of the file.</param>
- /// <param name="httpContext">The current http context.</param>
/// <returns>An <see cref="ActionResult"/> the file.</returns>
public static ActionResult GetStaticFileResult(
string path,
- string contentType,
- HttpContext httpContext)
+ string contentType)
{
return new PhysicalFileResult(path, contentType) { EnableRangeProcessing = true };
}