aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TimeSyncController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-06 08:17:45 -0600
committercrobibero <cody@robibe.ro>2020-08-06 08:17:45 -0600
commitfffa94fc33b923863e7cfe0d57d85ae86206975e (patch)
treed5260738b85a67fa98969de0a87eeace2ae3cde2 /Jellyfin.Api/Controllers/TimeSyncController.cs
parent34cf1b17574e68734e7e4394cda28f5b2a36edcf (diff)
Apply fixes from review
Diffstat (limited to 'Jellyfin.Api/Controllers/TimeSyncController.cs')
-rw-r--r--Jellyfin.Api/Controllers/TimeSyncController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/TimeSyncController.cs b/Jellyfin.Api/Controllers/TimeSyncController.cs
index bbabcd6e6..2dc744e7c 100644
--- a/Jellyfin.Api/Controllers/TimeSyncController.cs
+++ b/Jellyfin.Api/Controllers/TimeSyncController.cs
@@ -9,7 +9,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// The time sync controller.
/// </summary>
- [Route("GetUtcTime")]
+ [Route("")]
public class TimeSyncController : BaseJellyfinApiController
{
/// <summary>
@@ -17,7 +17,7 @@ namespace Jellyfin.Api.Controllers
/// </summary>
/// <response code="200">Time returned.</response>
/// <returns>An <see cref="UtcTimeResponse"/> to sync the client and server time.</returns>
- [HttpGet]
+ [HttpGet("GetUtcTime")]
[ProducesResponseType(statusCode: StatusCodes.Status200OK)]
public ActionResult<UtcTimeResponse> GetUtcTime()
{