Merge branch 'master' of ssh://git.paulbsd.com:2222/paulbsd/ipbl
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2022-04-10 12:43:32 +02:00
commit 2c4af80b3d

View File

@ -64,7 +64,7 @@ func (ip *IP) InsertOrUpdate(cfg *config.Config) (numinsert int64, numupdate int
log.Println(err)
}
} else {
numinsert, err = cfg.Db.Insert(&ip)
numinsert, err = cfg.Db.Insert(ip)
if err != nil {
log.Println(err)
}