Skip to content

Commit

Permalink
Remove debugging log message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexedwards committed Oct 22, 2023
1 parent f2f88f0 commit a803960
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gormstore/gormstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func NewWithCleanupInterval(db *gorm.DB, cleanupInterval time.Duration) (*GORMSt
func (g *GORMStore) Find(token string) (b []byte, exists bool, err error) {
s := &session{}
row := g.db.Where("token = ? AND expiry >= ?", token, time.Now()).Limit(1).Find(s)
log.Println("HIT")
if row.Error != nil {
return nil, false, row.Error
}
Expand Down

0 comments on commit a803960

Please sign in to comment.