Fix build & runtime errors
This commit is contained in:
parent
a282fbe966
commit
c31b9f5169
|
@ -26,21 +26,20 @@ namespace Jellyfin.Api.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get Display Preferences
|
/// Get Display Preferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="displayPreferencesId">Display preferences id.</param>
|
/// <param name="displayPreferencesId">Display preferences id.</param>
|
||||||
/// <param name="userId">User id.</param>
|
/// <param name="userId">User id.</param>
|
||||||
/// <param name="client">Client.</param>
|
/// <param name="client">Client.</param>
|
||||||
/// <returns>Display Preferences.</returns>
|
/// <returns>Display Preferences.</returns>
|
||||||
[HttpGet("{DisplayPreferencesId")]
|
[HttpGet("{DisplayPreferencesId}")]
|
||||||
[ProducesResponseType(typeof(DisplayPreferences), StatusCodes.Status200OK)]
|
[ProducesResponseType(typeof(DisplayPreferences), StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
||||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||||
public IActionResult GetDisplayPreferences(
|
public IActionResult GetDisplayPreferences(
|
||||||
[FromRoute] string displayPreferencesId,
|
[FromRoute] string displayPreferencesId,
|
||||||
[FromQuery] [Required] string userId,
|
[FromQuery] [Required] string userId,
|
||||||
[FromQuery] [Required] string client
|
[FromQuery] [Required] string client)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -60,7 +59,7 @@ namespace Jellyfin.Api.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update Display Preferences
|
/// Update Display Preferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="displayPreferencesId">Display preferences id.</param>
|
/// <param name="displayPreferencesId">Display preferences id.</param>
|
||||||
/// <param name="userId">User Id.</param>
|
/// <param name="userId">User Id.</param>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user