diff options
Diffstat (limited to 'MediaBrowser.Model/Session/GeneralCommand.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/GeneralCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Session/GeneralCommand.cs b/MediaBrowser.Model/Session/GeneralCommand.cs index 757b19b31..dfbb616aa 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; } |
