fix: Remove unused weights variable in GetAlgorithmicFeed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Britton 2026-02-17 14:15:54 -06:00
parent c3329a0893
commit e0056789ac

View file

@ -445,8 +445,6 @@ func (s *FeedAlgorithmService) updatePostScore(ctx context.Context, score FeedSc
// Get feed with algorithmic ranking
func (s *FeedAlgorithmService) GetAlgorithmicFeed(ctx context.Context, viewerID string, limit int, offset int, category string) ([]string, error) {
weights := s.GetDefaultWeights()
// Update scores for recent posts first
err := s.UpdateFeedScores(ctx, []string{}, viewerID) // This would normally get recent posts
if err != nil {