diff --git a/Server/ReasnAPI/ReasnAPI/Models/DTOs/EventDto.cs b/Server/ReasnAPI/ReasnAPI/Models/DTOs/EventDto.cs index d35c8120..00c00ff5 100644 --- a/Server/ReasnAPI/ReasnAPI/Models/DTOs/EventDto.cs +++ b/Server/ReasnAPI/ReasnAPI/Models/DTOs/EventDto.cs @@ -10,7 +10,7 @@ public class EventDto { public DateTime EndAt { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } - public string? Slug { get; set; } + public string Slug { get; set; } = null!; public int StatusId { get; set; } public List? Tags { get; set; } }