Skip to content

Commit

Permalink
chore: remove some debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Oct 9, 2024
1 parent 5c70f95 commit 1d217f8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/collections/infra/mysql_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,6 @@ func (r mysqlRepo) updateUserTags(ctx context.Context,
q *query.Query,
userID model.UserID, subject model.Subject,
at time.Time, s *collection.Subject) ([]string, error) {
log := r.log.With(zap.Uint32("user_id", userID), zap.Uint32("subject_id", subject.ID))
log.Info("user collections with tags", zap.Strings("tags", lo.Map(s.Tags(), func(item string, index int) string {
ss := strconv.Quote(item)
return ss[1 : len(ss)-1]
})))

tx := q.WithContext(ctx)

if (len(s.Tags())) == 0 {
Expand Down

0 comments on commit 1d217f8

Please sign in to comment.