fix: specify rss version

This commit is contained in:
Oliver Booth 2023-09-27 20:34:06 +01:00
parent 942b48000d
commit de43cb5dbf
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -6,7 +6,7 @@ namespace OliverBooth.Data.Blog.Rss;
public sealed class BlogRoot
{
[XmlAttribute("version")]
public string Version { get; set; } = default!;
public string Version { get; set; } = "2.0";
[XmlElement("channel")]
public BlogChannel Channel { get; set; } = default!;