Remove debug

This commit is contained in:
Jamie Curnow 2023-05-29 14:19:40 +10:00
parent c849938da2
commit fd365dc8fd
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

View File

@ -4,7 +4,6 @@ import (
"fmt"
"strings"
"npm/internal/logger"
"npm/internal/model"
"gorm.io/gorm"
@ -37,8 +36,6 @@ func ScopeOrderBy(pageInfo *model.PageInfo, defaultSort model.Sort) func(db *gor
}
func ScopeFilters(filters []model.Filter, filterMap map[string]filterMapValue) func(db *gorm.DB) *gorm.DB {
logger.Debug("FILTERS: %+v", filters)
logger.Debug("FILTERMAP: %+v", filterMap)
return func(db *gorm.DB) *gorm.DB {
for _, f := range filters {
// Lookup this filter field from the name map