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

Prevent 400 error when using navigation buttons.
This commit is contained in:
Claus Vium
2022-06-13 09:47:25 +02:00
committed by GitHub

View File

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