From 8d1dcb3c05a1d8e31faa18041594b48312551252 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Mon, 13 Jun 2022 09:47:25 +0200 Subject: [PATCH] Merge pull request #7885 from iwalton3/fix-navigation-buttons Prevent 400 error when using navigation buttons. (cherry picked from commit 8b69b0f5217e7dcda395449a56d59571b264b2a6) Signed-off-by: crobibero --- MediaBrowser.Model/Session/GeneralCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Model/Session/GeneralCommand.cs b/MediaBrowser.Model/Session/GeneralCommand.cs index 757b19b317..dfbb616aa8 100644 --- a/MediaBrowser.Model/Session/GeneralCommand.cs +++ b/MediaBrowser.Model/Session/GeneralCommand.cs @@ -14,9 +14,9 @@ public class GeneralCommand } [JsonConstructor] - public GeneralCommand(Dictionary arguments) + public GeneralCommand(Dictionary? arguments) { - Arguments = arguments; + Arguments = arguments ?? new Dictionary(); } public GeneralCommandType Name { get; set; }