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 3cff64ee32
commit 1c6529c9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save