Fixed bug where no RSS feed is being generated

This commit is contained in:
Jason Streifling 2024-09-01 12:27:30 +02:00
parent a2d219b2c0
commit da0d65d40b

View File

@ -23,10 +23,6 @@ func GenerateRSS(c *Config, db *DB) (*string, error) {
} }
for _, article := range articles { for _, article := range articles {
if !article.Published {
continue
}
tags, err := db.GetArticleTags(article.ID) tags, err := db.GetArticleTags(article.ID)
if err != nil { if err != nil {
return nil, fmt.Errorf("error getting tags for articles for RSS feed: %v", err) return nil, fmt.Errorf("error getting tags for articles for RSS feed: %v", err)