refactor: inline single-use getcached wrapper

This commit is contained in:
2026-06-23 17:16:56 +02:00
committed by Milas Holsting
parent 3b53bde103
commit 4c7abea589
2 changed files with 1 additions and 5 deletions

View File

@@ -131,10 +131,6 @@ func (s *EpisodeService) markFailure(ctx context.Context, anime domain.Anime, ca
)
}
func (s *EpisodeService) getCached(ctx context.Context, anime domain.Anime) (domain.CanonicalEpisodeList, bool) {
return s.getDecodedCached(ctx, anime)
}
func (s *EpisodeService) getFreshCached(ctx context.Context, anime domain.Anime) (domain.CanonicalEpisodeList, bool) {
row, err := s.queries.GetEpisodeAvailabilityCache(ctx, int64(anime.MalID))
if err != nil {