瀏覽代碼

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.
         /// 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(