diff --git a/chessfut-be/application/service/refresh_stale_cards_service.go b/chessfut-be/application/service/refresh_stale_cards_service.go index 36c96b9..f757238 100644 --- a/chessfut-be/application/service/refresh_stale_cards_service.go +++ b/chessfut-be/application/service/refresh_stale_cards_service.go @@ -39,6 +39,7 @@ func (s *RefreshStaleCardsService) Execute(ctx context.Context, batchSize int) ( if delta < minGamesDeltaForRebuild { existing.Stats = freshStats existing.ExpiresAt = time.Now().Add(cardTTL) + existing.EffectiveFideRating, existing.FideSource = FideRatingInfo(existing.Player.Title, freshStats.FideRating) _ = s.cardRepository.Save(ctx, existing) s.refreshCacheIfPresent(ctx, existing) refreshed++