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; }