Update Jellyfin.Api/Controllers/PluginsController.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/4709/head
BaronGreenback 4 years ago committed by GitHub
parent 1c6529c9eb
commit 33385c1b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,7 @@ namespace Jellyfin.Api.Controllers
[Authorize(Policy = Policies.RequiresElevation)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public ActionResult DisablePlugin([FromRoute, Required] Guid pluginId, [FromRoute] Version? version)
public ActionResult DisablePlugin([FromRoute, Required] Guid pluginId, [FromRoute, Required] Version version)
{
if (!_pluginManager.TryGetPlugin(pluginId, version, out var plugin))
{

Loading…
Cancel
Save