make multierr errors private

This commit is contained in:
sentriz
2021-11-10 19:09:12 +00:00
parent 0c790442f4
commit 43a929c36a
2 changed files with 17 additions and 7 deletions

View File

@@ -295,7 +295,7 @@ func (p *Podcasts) RefreshPodcastsForUser(userID int) error {
}
func (p *Podcasts) refreshPodcasts(podcasts []*db.Podcast) error {
var errs multierr.Err
errs := &multierr.Err{}
for _, podcast := range podcasts {
fp := gofeed.NewParser()
feed, err := fp.ParseURL(podcast.URL)