Skip to content

Commit a0a0f4f

Browse files
committed
temp remove thread recs
1 parent df4272a commit a0a0f4f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

app/services/thread/get.go

+6-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"github.com/Southclaws/fault/fctx"
88
"github.com/Southclaws/fault/fmsg"
99
"github.com/Southclaws/fault/ftag"
10-
"go.uber.org/zap"
1110

1211
"github.com/Southclaws/storyden/app/resources/pagination"
1312
"github.com/Southclaws/storyden/app/resources/post"
@@ -53,12 +52,12 @@ func (s *service) Get(
5352
}
5453
}
5554

56-
recommendations, err := s.recommender.Recommend(ctx, thr)
57-
if err != nil {
58-
s.l.Warn("failed to aggregate recommendations", zap.Error(err))
59-
} else {
60-
thr.Related = append(thr.Related, recommendations...)
61-
}
55+
// recommendations, err := s.recommender.Recommend(ctx, thr)
56+
// if err != nil {
57+
// s.l.Warn("failed to aggregate recommendations", zap.Error(err))
58+
// } else {
59+
// thr.Related = append(thr.Related, recommendations...)
60+
// }
6261

6362
return thr, nil
6463
}

0 commit comments

Comments
 (0)