Skip to content

Commit

Permalink
Removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
saltgen committed Dec 18, 2024
1 parent 3b3c974 commit 620f225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/model/recommendation_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (r *RecommendationSet) GetRecommendationSets(orgID string, orderQuery strin
var count int64 = 0
query.Count(&count)
query.Order(orderQuery)
err := query.Offset(offset).Limit(limit).Debug().Scan(&recommendationSets).Error
err := query.Offset(offset).Limit(limit).Scan(&recommendationSets).Error

return recommendationSets, int(count), err
}
Expand Down Expand Up @@ -116,7 +116,7 @@ func (r *RecommendationSet) GetRecommendationSetByID(orgID string, recommendatio
Where("recommendation_sets.id = ?", recommendationID)

add_rbac_filter(query, user_permissions)
err := query.Debug().First(&recommendationSet).Error
err := query.First(&recommendationSet).Error
return recommendationSet, err
}

Expand Down

0 comments on commit 620f225

Please sign in to comment.