Explorar o código

Update Jellyfin.Api/Controllers/SyncPlayController.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
David %!s(int64=5) %!d(string=hai) anos
pai
achega
69e6dd2747
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jellyfin.Api/Controllers/SyncPlayController.cs

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

@@ -188,7 +188,7 @@ namespace Jellyfin.Api.Controllers
         /// <param name="ping">The ping.</param>
         /// <response code="204">Ping updated.</response>
         /// <returns>A <see cref="NoContentResult"/> indicating success.</returns>
-        [HttpPost]
+        [HttpPost("Ping")]
         [ProducesResponseType(StatusCodes.Status204NoContent)]
         public ActionResult Ping([FromQuery] double ping)
         {