forked from jason/cpolis
Allow articles to be edited
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user