diff --git a/PortBlog.API/Models/PostCreationDto.cs b/PortBlog.API/Models/PostCreationDto.cs index 090f3bf..9cd54ae 100644 --- a/PortBlog.API/Models/PostCreationDto.cs +++ b/PortBlog.API/Models/PostCreationDto.cs @@ -14,11 +14,11 @@ public string PostUrl { get; set; } = string.Empty; - public int Likes { get; set; } = 0; + public int? Likes { get; set; } = 0; - public int Views { get; set; } = 0; + public int? Views { get; set; } = 0; - public int Comments { get; set; } = 0; + public int? Comments { get; set; } = 0; public string? Image { get; set; }