updated msg in funcs.go after IP POST
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Paul 2022-02-22 14:44:28 +01:00
parent 40185c4abb
commit eb63a8dd07

View File

@ -41,6 +41,8 @@ func RegisterRoutes(e *echo.Echo, ctx *context.Context, cfg *config.Config) {
}
if num > 0 {
msg = fmt.Sprintf("Inserted %d IP", num)
} else {
msg = "No IP inserted"
}
return Result(c, err, msg)
})