Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
BrianCArnold 2021-03-31 01:24:38 -04:00 committed by GitHub
parent af03b280bc
commit 4fa2a32d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,10 +325,10 @@ namespace Jellyfin.Api.Controllers
{
if (string.IsNullOrWhiteSpace(command.Header))
{
command.Header = "Message from Server";
command.Header = "Message from Server";
}
_sessionManager.SendMessageCommand(RequestHelpers.GetSession(_sessionManager, _authContext, Request).Id, sessionId, nullCorrectedCommand, CancellationToken.None);
_sessionManager.SendMessageCommand(RequestHelpers.GetSession(_sessionManager, _authContext, Request).Id, sessionId, command, CancellationToken.None);
return NoContent();
}