Allow articles to be edited

This commit is contained in:
2024-09-28 12:17:03 +02:00
parent 38ef7b80d5
commit 065ffcdc30
13 changed files with 412 additions and 289 deletions

View File

@@ -17,7 +17,7 @@ func GenerateRSS(c *Config, db *DB) (*string, error) {
Items: make([]*rss.Item, 0),
}
articles, err := db.GetCertainArticles(true, false)
articles, err := db.GetCertainArticles("published", true)
if err != nil {
return nil, fmt.Errorf("error getting published articles for RSS feed: %v", err)
}