Browse Source

Fix Identify by renaming route parameter to match function argument

cvium 4 years ago
parent
commit
c92eda53c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Api/Controllers/ItemLookupController.cs

+ 1 - 1
Jellyfin.Api/Controllers/ItemLookupController.cs

@@ -292,7 +292,7 @@ namespace Jellyfin.Api.Controllers
         /// A <see cref="Task" /> that represents the asynchronous operation to get the remote search results.
         /// A <see cref="Task" /> that represents the asynchronous operation to get the remote search results.
         /// The task result contains an <see cref="NoContentResult"/>.
         /// The task result contains an <see cref="NoContentResult"/>.
         /// </returns>
         /// </returns>
-        [HttpPost("Items/RemoteSearch/Apply/{id}")]
+        [HttpPost("Items/RemoteSearch/Apply/{itemId}")]
         [Authorize(Policy = Policies.RequiresElevation)]
         [Authorize(Policy = Policies.RequiresElevation)]
         [ProducesResponseType(StatusCodes.Status204NoContent)]
         [ProducesResponseType(StatusCodes.Status204NoContent)]
         public async Task<ActionResult> ApplySearchCriteria(
         public async Task<ActionResult> ApplySearchCriteria(