Skip to content

Commit

Permalink
Fix null in s->c dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
SophiaH67 committed Jan 31, 2024
1 parent ff148e6 commit ec45e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xi-jinping-bot/dto/XiJinpingResponseDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
public class XiJinpingResponseDto
{
[JsonProperty(PropertyName = "messages")]
public string[] Messages { get; set; }
public string[] Messages { get; set; } = [];
}

0 comments on commit ec45e05

Please sign in to comment.