Преглед на файлове

Merge pull request #4208 from cvium/fix_identify

Fix Identify by renaming route parameter to match function argument
Bond-009 преди 4 години
родител
ревизия
48e9162852
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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.
         /// The task result contains an <see cref="NoContentResult"/>.
         /// </returns>
-        [HttpPost("Items/RemoteSearch/Apply/{id}")]
+        [HttpPost("Items/RemoteSearch/Apply/{itemId}")]
         [Authorize(Policy = Policies.RequiresElevation)]
         [ProducesResponseType(StatusCodes.Status204NoContent)]
         public async Task<ActionResult> ApplySearchCriteria(