Skip to content

The Free Software Media System - Server Backend & API

Merge pull request #7885 from iwalton3/fix-navigation-buttons

Claus Vium8d1dcb3c05a1
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<string, string> arguments)
+ public GeneralCommand(Dictionary<string, string>? arguments)
{
- Arguments = arguments;
+ Arguments = arguments ?? new Dictionary<string, string>();
}
public GeneralCommandType Name { get; set; }