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
commit 8b69b0f521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,9 @@ public class GeneralCommand
} }
[JsonConstructor] [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; } public GeneralCommandType Name { get; set; }