feat: fetch full details for recommendations to prioritize english titles

This commit is contained in:
2026-04-08 16:10:56 +02:00
parent 2d067c88e4
commit 13b0128c38
3 changed files with 39 additions and 24 deletions

View File

@@ -65,8 +65,8 @@ func (s *Service) GetSchedule(day string) (jikan.ScheduleResult, error) {
return s.jikanClient.GetSchedule(day)
}
func (s *Service) GetRecommendations(animeID int) ([]jikan.Anime, error) {
return s.jikanClient.GetRecommendations(animeID)
func (s *Service) GetRecommendations(animeID int, limit int) ([]jikan.Anime, error) {
return s.jikanClient.GetRecommendations(animeID, limit)
}
func (s *Service) GetWatchingAnime(ctx context.Context, userID string) ([]templates.WatchingAnimeWithDetails, error) {