diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-03-13 15:07:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-13 15:07:42 +0100 |
| commit | 260b48ef9d5547581f0499152b52317babc5f86f (patch) | |
| tree | f5e78b58fcfc10dd8758b5beeb0138f35abb8580 /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | b755c2521745d8abdeb3669d8cb02707ee64e0e9 (diff) | |
| parent | fe2a310fe28bb893a855d1278845ce6539c39656 (diff) | |
Merge pull request #5515 from jellyfin/fix-refresh-endpoint
fix refresh endpoint
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 2bd2d4933..f8e8825ef 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() |
