From 044d3286589682f920e4fe75fa91cde39ec92b88 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 29 Dec 2021 14:24:26 +0100 Subject: [PATCH] updated ipbl --- src/routers/funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/funcs.go b/src/routers/funcs.go index 7d67d00..9470791 100644 --- a/src/routers/funcs.go +++ b/src/routers/funcs.go @@ -62,8 +62,8 @@ func RegisterRoutes(e *echo.Echo, ctx *context.Context, cfg *config.Config) { numinsert, _, _ := models.InsertIPBulk(cfg, &ips) if numinsert > 0 { msg = fmt.Sprintf("Inserted %d IP", numinsert) + log.Println(msg) } - log.Println(msg) return c.JSON(http.StatusOK, msg) }) e.GET("/ips/whitelist", func(c echo.Context) (err error) {