diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-03-13 15:07:42 +0100 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2021-03-21 19:10:13 -0400 |
| commit | 40f4780825b474b0ec7b82553ae1703025040fba (patch) | |
| tree | fa1e73e06d9e5ffdea7254740daf6fb5d7f8c04d /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | 546ffbe4f76259eca62f466e4ece994821b73161 (diff) | |
Merge pull request #5515 from jellyfin/fix-refresh-endpoint
fix refresh endpoint
(cherry picked from commit 260b48ef9d5547581f0499152b52317babc5f86f)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
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 3da910f2f..a105c755d 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -304,7 +304,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() |
