aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-04-19 12:30:10 -0600
committercrobibero <cody@robibe.ro>2020-04-19 12:30:10 -0600
commitc31b9f5169ae62787fa356ccecc2f1fc6896d04b (patch)
tree58159fb5cb9e7670b052c7aec35931677351b480 /Jellyfin.Api/Controllers/DisplayPreferencesController.cs
parenta282fbe9668263481b850b29b3fb8064d4d7ee9f (diff)
Fix build & runtime errors
Diffstat (limited to 'Jellyfin.Api/Controllers/DisplayPreferencesController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DisplayPreferencesController.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
index 6182c3507..a3bcafaea 100644
--- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
+++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
@@ -26,21 +26,20 @@ namespace Jellyfin.Api.Controllers
}
/// <summary>
- /// Get Display Preferences
+ /// Get Display Preferences.
/// </summary>
/// <param name="displayPreferencesId">Display preferences id.</param>
/// <param name="userId">User id.</param>
/// <param name="client">Client.</param>
/// <returns>Display Preferences.</returns>
- [HttpGet("{DisplayPreferencesId")]
+ [HttpGet("{DisplayPreferencesId}")]
[ProducesResponseType(typeof(DisplayPreferences), StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
public IActionResult GetDisplayPreferences(
[FromRoute] string displayPreferencesId,
[FromQuery] [Required] string userId,
- [FromQuery] [Required] string client
- )
+ [FromQuery] [Required] string client)
{
try
{
@@ -60,7 +59,7 @@ namespace Jellyfin.Api.Controllers
}
/// <summary>
- /// Update Display Preferences
+ /// Update Display Preferences.
/// </summary>
/// <param name="displayPreferencesId">Display preferences id.</param>
/// <param name="userId">User Id.</param>