Browse Source

fix controller attribute

crobibero 5 năm trước cách đây
mục cha
commit
7e94bb7864
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Jellyfin.Api/Controllers/LiveTvController.cs

+ 1 - 1
Jellyfin.Api/Controllers/LiveTvController.cs

@@ -1000,7 +1000,7 @@ namespace Jellyfin.Api.Controllers
         /// <param name="id">Listing provider id.</param>
         /// <response code="204">Listing provider deleted.</response>
         /// <returns>A <see cref="NoContentResult"/>.</returns>
-        [HttpGet("ListingProviders")]
+        [HttpDelete("ListingProviders")]
         [Authorize(Policy = Policies.DefaultAuthorization)]
         [ProducesResponseType(StatusCodes.Status204NoContent)]
         public ActionResult DeleteListingProvider([FromQuery] string id)