Fixed small bug
This commit is contained in:
parent
b5f0fe8985
commit
783d59805b
@ -338,7 +338,7 @@ func PublishArticle(c *control.CliArgs, db *model.DB, s *control.CookieStore) ht
|
|||||||
return
|
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 {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user