The Free Software Media System - Server Backend & API
fix refresh endpoint
Claus Viumfe2a310fe28b
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.csindex 3443ebd72f..76f882b437 100644--- a/Jellyfin.Api/Controllers/LibraryController.cs+++ b/Jellyfin.Api/Controllers/LibraryController.cs@@ -303,7 +303,7 @@ namespace Jellyfin.Api.Controllers/// </summary>/// <response code="204">Library scan started.</response>/// <returns>A <see cref="NoContentResult"/>.</returns>- [HttpGet("Library/Refresh")]+ [HttpPost("Library/Refresh")][Authorize(Policy = Policies.RequiresElevation)][ProducesResponseType(StatusCodes.Status204NoContent)]public async Task<ActionResult> RefreshLibrary()