diff options
| author | crobibero <cody@robibe.ro> | 2020-09-09 11:44:53 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-09 11:44:53 -0600 |
| commit | 8e15142d82b8f279e7efeb873491fff7f60a881f (patch) | |
| tree | 24e274111b1d9e84157356847ac3fcad4aab63fc /Jellyfin.Api/Controllers/LiveTvController.cs | |
| parent | b2c2746a272aa8bc80236d0b9f8e0cb29046e3a1 (diff) | |
| parent | b76d4ba454c43cc6293b733f2bba363e34a9bf5e (diff) | |
Merge remote-tracking branch 'upstream/master' into bad-route
Diffstat (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LiveTvController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs index c32395705..8be610bd1 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -447,7 +447,7 @@ namespace Jellyfin.Api.Controllers [HttpGet("Timers/{timerId}")] [ProducesResponseType(StatusCodes.Status200OK)] [Authorize(Policy = Policies.DefaultAuthorization)] - public async Task<ActionResult<TimerInfoDto>> GetTimer(string timerId) + public async Task<ActionResult<TimerInfoDto>> GetTimer([FromRoute, Required] string timerId) { return await _liveTvManager.GetTimer(timerId, CancellationToken.None).ConfigureAwait(false); } |
