Prevent 400 error when using navigation buttons.

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Ian Walton 2022-06-11 20:34:29 -04:00
parent 93941f9728
commit 11c5a0b182
1 changed files with 2 additions and 2 deletions

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