removed warnings

This commit is contained in:
Sarah Faey 2022-11-11 20:40:20 +01:00
parent 56cb43a479
commit a47bc3207d
3 changed files with 5 additions and 3 deletions

View file

@ -18,7 +18,7 @@ namespace Lieb.Models.GuildWars2.Raid
[Required]
[StringLength(1000, ErrorMessage = "Message too long (1000 character limit).")]
public string Message { get; set; }
public string Message { get; set; } = string.Empty;
[Required]
public double HoursBeforeRaid { get; set; }