From a3370261bc4b90f88642c6c1b81c36d2f87a502a Mon Sep 17 00:00:00 2001 From: Maciej Koperdowski Date: Mon, 13 May 2024 21:00:39 +0200 Subject: [PATCH] Deleted EventDto changes --- Server/ReasnAPI/ReasnAPI/Models/DTOs/EventDto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }