@@ -649,14 +649,13 @@ func fetchAllSubscriptions() ([]SubscriptionDetail, error) {
649649 }
650650
651651 bodyBytes , _ := io .ReadAll (resp .Body )
652- log .Printf ("Subscriptions API response (page %d): %s" , page , string (bodyBytes ))
653652
654653 var result SubscriptionListResponse
655654 if err := json .Unmarshal (bodyBytes , & result ); err != nil {
656655 return nil , fmt .Errorf ("failed to decode subscriptions list: %w" , err )
657656 }
658657
659- log .Printf ("Parsed %d subscriptions from page %d" , len (result .Subscriptions ), page )
658+ log .Printf ("Fetched %d subscriptions from page %d" , len (result .Subscriptions ), page )
660659 allSubs = append (allSubs , result .Subscriptions ... )
661660
662661 if result .NextPage == nil || * result .NextPage == 0 {
@@ -706,13 +705,13 @@ func fetchRecentQuotes() ([]QuoteAPIData, error) {
706705 }
707706
708707 bodyBytes , _ := io .ReadAll (resp .Body )
709- log .Printf ("Quotes API response: %s" , string (bodyBytes ))
710708
711709 var result QuoteListResponse
712710 if err := json .Unmarshal (bodyBytes , & result ); err != nil {
713711 return nil , fmt .Errorf ("failed to decode quotes list: %w" , err )
714712 }
715713
714+ log .Printf ("Fetched %d quotes" , len (result .Quotes ))
716715 return result .Quotes , nil
717716}
718717
@@ -730,7 +729,6 @@ func fetchSubscriptionEntries(subscriptionID string) ([]SubscriptionEntry, error
730729 }
731730
732731 bodyBytes , _ := io .ReadAll (resp .Body )
733- log .Printf ("Entries API response for %s: %s" , subscriptionID , string (bodyBytes ))
734732
735733 var entries []SubscriptionEntry
736734 if err := json .Unmarshal (bodyBytes , & entries ); err != nil {
0 commit comments