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

Prevent 400 error when using navigation buttons.

(cherry picked from commit 8b69b0f521)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Claus Vium 2022-06-13 09:47:25 +02:00 committed by crobibero
parent 6702756e7b
commit 8d1dcb3c05

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