Skip to content

Commit

Permalink
fix bandwidth warn
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Nov 30, 2024
1 parent 10874e6 commit afa5111
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"crypto/md5"
"encoding/hex"
"errors"
log "github.com/sirupsen/logrus"
"html/template"
"os"
"path/filepath"
Expand Down Expand Up @@ -363,7 +362,7 @@ func (s *Template) ToString(c *gin.Context, obj any) (res string, err error) {
}
}
data := s.tm.contextWrapper(c, obj, nil)
log.Infof("action template %v data: %+v", s.name, data)
//log.Infof("action template %v data: %+v", s.name, data)
re, _ := s.tm.re.Instance(v, data).(render.HTML)
err = re.Template.Execute(&b, re.Data)
if err != nil {
Expand Down

0 comments on commit afa5111

Please sign in to comment.