diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-08-07 18:08:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-07 18:08:12 +0000 |
| commit | a15be774ac606ec71f3ab0849a56ae08b8cc2f4d (patch) | |
| tree | 590a56ca843635f9e353b598b1182d84bf6a9bd4 /Jellyfin.Api/Controllers/TimeSyncController.cs | |
| parent | 34cf1b17574e68734e7e4394cda28f5b2a36edcf (diff) | |
| parent | e735ab6cc0faaec61d6aceeb0b946ba94a8c103c (diff) | |
Merge pull request #3833 from crobibero/api-cleanup-v3
api-migration review fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/TimeSyncController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TimeSyncController.cs | 4 |
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() { |
