Fix feeds not updating if they dont contain a feedurl
This commit is contained in:
committed by
Senan Kelly
parent
b57860a967
commit
76875de87b
@@ -431,7 +431,7 @@ func (c *Controller) ServePodcastAddDo(r *http.Request) *Response {
|
||||
flashW: []string{fmt.Sprintf("could not create feed: %v", err)},
|
||||
}
|
||||
}
|
||||
if _, err = c.Podcasts.AddNewPodcast(feed, user.ID); err != nil {
|
||||
if _, err = c.Podcasts.AddNewPodcast(rssURL, feed, user.ID); err != nil {
|
||||
return &Response{
|
||||
redirect: "/admin/home",
|
||||
flashW: []string{fmt.Sprintf("could not create feed: %v", err)},
|
||||
|
||||
Reference in New Issue
Block a user