diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-08-22 13:06:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-22 13:06:12 +0200 |
| commit | 92c491397eb81ed0d9349f11036c9f3a1e2be2e4 (patch) | |
| tree | c949858416fc162ff5ebced8045ee57e7646466b /Jellyfin.Api/Controllers/ConfigurationController.cs | |
| parent | 3e65cae70e9df4d26b887689669666d46c1216f2 (diff) | |
| parent | d63f4bce5d380afc4cf8c97285d0ac86989554d5 (diff) | |
Merge pull request #3941 from crobibero/no-more-form
Conver all remaining form request to body
Diffstat (limited to 'Jellyfin.Api/Controllers/ConfigurationController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ConfigurationController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ConfigurationController.cs b/Jellyfin.Api/Controllers/ConfigurationController.cs index 019703dae..20fb0ec87 100644 --- a/Jellyfin.Api/Controllers/ConfigurationController.cs +++ b/Jellyfin.Api/Controllers/ConfigurationController.cs @@ -117,7 +117,7 @@ namespace Jellyfin.Api.Controllers [HttpPost("MediaEncoder/Path")] [Authorize(Policy = Policies.FirstTimeSetupOrElevated)] [ProducesResponseType(StatusCodes.Status204NoContent)] - public ActionResult UpdateMediaEncoderPath([FromForm, Required] MediaEncoderPathDto mediaEncoderPath) + public ActionResult UpdateMediaEncoderPath([FromBody, Required] MediaEncoderPathDto mediaEncoderPath) { _mediaEncoder.UpdateEncoderPath(mediaEncoderPath.Path, mediaEncoderPath.PathType); return NoContent(); |
