From 40f4780825b474b0ec7b82553ae1703025040fba Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Sat, 13 Mar 2021 15:07:42 +0100 Subject: [PATCH] Merge pull request #5515 from jellyfin/fix-refresh-endpoint fix refresh endpoint (cherry picked from commit 260b48ef9d5547581f0499152b52317babc5f86f) Signed-off-by: Joshua M. Boniface --- Jellyfin.Api/Controllers/LibraryController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 3da910f2fc..a105c755d3 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -304,7 +304,7 @@ namespace Jellyfin.Api.Controllers /// /// Library scan started. /// A . - [HttpGet("Library/Refresh")] + [HttpPost("Library/Refresh")] [Authorize(Policy = Policies.RequiresElevation)] [ProducesResponseType(StatusCodes.Status204NoContent)] public async Task RefreshLibrary()