aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LiveTvController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-23 11:53:08 -0600
committercrobibero <cody@robibe.ro>2020-06-23 11:53:08 -0600
commit7e94bb786432536e95f4e76ea1f8fe02dd292fef (patch)
treef0496f264a96983ada5369fa914dfe104b509f91 /Jellyfin.Api/Controllers/LiveTvController.cs
parentb4a773fde80b35959dbaf88f98ceb169862dba84 (diff)
fix controller attribute
Diffstat (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LiveTvController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs
index 1887dbbc2..aca295419 100644
--- a/Jellyfin.Api/Controllers/LiveTvController.cs
+++ b/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)