Update Jellyfin.Api/Controllers/DisplayPreferencesController.cs

Co-authored-by: David <davidullmer@outlook.de>
This commit is contained in:
Cody Robibero 2020-06-21 09:33:34 -06:00 committed by GitHub
parent 10ddbc34ec
commit c492c09b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ namespace Jellyfin.Api.Controllers
/// <param name="client">Client.</param> /// <param name="client">Client.</param>
/// <param name="displayPreferences">New Display Preferences object.</param> /// <param name="displayPreferences">New Display Preferences object.</param>
/// <response code="204">Display preferences updated.</response> /// <response code="204">Display preferences updated.</response>
/// <returns>An <see cref="OkResult"/> on success.</returns> /// <returns>An <see cref="NoContentResult"/> on success.</returns>
[HttpPost("{displayPreferencesId}")] [HttpPost("{displayPreferencesId}")]
[ProducesResponseType(StatusCodes.Status204NoContent)] [ProducesResponseType(StatusCodes.Status204NoContent)]
[SuppressMessage("Microsoft.Performance", "CA1801:ReviewUnusedParameters", MessageId = "displayPreferencesId", Justification = "Imported from ServiceStack")] [SuppressMessage("Microsoft.Performance", "CA1801:ReviewUnusedParameters", MessageId = "displayPreferencesId", Justification = "Imported from ServiceStack")]