mirror of https://github.com/jellyfin/jellyfin.git
Prevent 400 error when using navigation buttons.
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
93941f9728
commit
11c5a0b182
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue