give the field a default value.

This commit is contained in:
andy840119
2022-08-02 22:29:27 +08:00
parent 11a4bb5833
commit 13b2441c51
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Desktop.LegacyIpc
public class Data
{
public string MessageType { get; set; }
public string MessageType { get; set; } = string.Empty;
public object MessageData { get; set; }
}
}