fix refresh endpoint

It was originally a POST 9af6eda0b4/MediaBrowser.Api/Library/LibraryService.cs (L155)
pull/5515/head
Claus Vium 4 years ago committed by GitHub
parent 80846a1c66
commit fe2a310fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save