aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ItemLookupController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-09-25 08:51:24 +0200
committerGitHub <noreply@github.com>2020-09-25 08:51:24 +0200
commit48e91628524f6e835063aadef2222a09ba668427 (patch)
treeb3fd5fcd07046a2d2af3ec79c6e25feb7e3d2f07 /Jellyfin.Api/Controllers/ItemLookupController.cs
parentc67ffa417a5b47c7cf415ff4bbcbe045c9d4980f (diff)
parentc92eda53c5ffa00de34491d79360740cdb6d545b (diff)
Merge pull request #4208 from cvium/fix_identify
Fix Identify by renaming route parameter to match function argument
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemLookupController.cs')
-rw-r--r--Jellyfin.Api/Controllers/ItemLookupController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemLookupController.cs b/Jellyfin.Api/Controllers/ItemLookupController.cs
index cf7038650..ab73aa428 100644
--- a/Jellyfin.Api/Controllers/ItemLookupController.cs
+++ b/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(