Skip to content

Commit

Permalink
podcast var style
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Dec 17, 2023
1 parent 95ba32b commit 326144f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podcast/podcast.go
Expand Up @@ -156,7 +156,7 @@ func (p *Podcasts) AddNewEpisodes(podcast *db.Podcast, items []*gofeed.Item) err
Where("podcast_id=?", podcast.ID).
Order("publish_date DESC").
First(&podcastEpisode).Error
itemFound := true
var itemFound = true
if errors.Is(err, gorm.ErrRecordNotFound) {
itemFound = false
} else if err != nil {
Expand Down

0 comments on commit 326144f

Please sign in to comment.