diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-03-13 09:13:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-13 09:13:45 +0100 |
| commit | fe2a310fe28bb893a855d1278845ce6539c39656 (patch) | |
| tree | 8d553e9035817d5c5fd5b8da4b7ab462959d29de /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | 80846a1c66eb7f669d95d021786b5273ba3b15f6 (diff) | |
fix refresh endpoint
It was originally a POST https://github.com/jellyfin/jellyfin/blob/9af6eda0b495649e3a77694b2bb30abad1a26484/MediaBrowser.Api/Library/LibraryService.cs#L155
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 3443ebd72..76f882b43 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() |
