Explorar o código

Merge pull request #4208 from cvium/fix_identify

Fix Identify by renaming route parameter to match function argument
Bond-009 %!s(int64=4) %!d(string=hai) anos
pai
achega
48e9162852
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(