Fixed small bug

This commit is contained in:
Jason Streifling 2024-04-07 19:33:51 +02:00
parent b5f0fe8985
commit 783d59805b

View File

@ -338,7 +338,7 @@ func PublishArticle(c *control.CliArgs, db *model.DB, s *control.CookieStore) ht
return
}
feed, err := control.GenerateRSS(db, c.ChanTitle, c.ChanLink, c.ChanDescription)
feed, err := control.GenerateRSS(db, c.Title, c.Link, c.Description)
if err != nil {
log.Println(err)
http.Error(w, err.Error(), http.StatusInternalServerError)