Update SessionController.cs

This commit is contained in:
BrianCArnold
2021-03-31 01:23:51 -04:00
committed by GitHub
parent 80fe48fda9
commit af03b280bc

View File

@@ -323,7 +323,7 @@ namespace Jellyfin.Api.Controllers
[FromRoute, Required] string sessionId, [FromRoute, Required] string sessionId,
[FromBody, Required] MessageCommand command) [FromBody, Required] MessageCommand command)
{ {
if (string.IsNullOrWhiteSpace(command.Header)) if (string.IsNullOrWhiteSpace(command.Header))
{ {
command.Header = "Message from Server"; command.Header = "Message from Server";
} }