Skip to content

Commit

Permalink
fix: Ensures all audiobooks are persisted even if they are filtered f…
Browse files Browse the repository at this point in the history
…rom the main feed
  • Loading branch information
CallumKerson committed Nov 14, 2023
1 parent cc91612 commit 647f5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/audiobooks/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func New(mediaScanner MediaScanner, audiobookStore AudiobookStore, opts ...Optio

func (s *Service) UpdateAudiobooks(ctx context.Context) error {
s.logger.Infoln("Updating audiobooks")
existingAudiobooks, err := s.GetAllAudiobooks(ctx)
existingAudiobooks, err := s.audiobookStore.GetAll(ctx)
if err != nil {
return err
}
Expand Down

0 comments on commit 647f5ac

Please sign in to comment.