updated msg in funcs.go after IP POST
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
40185c4abb
commit
eb63a8dd07
@ -41,6 +41,8 @@ func RegisterRoutes(e *echo.Echo, ctx *context.Context, cfg *config.Config) {
|
|||||||
}
|
}
|
||||||
if num > 0 {
|
if num > 0 {
|
||||||
msg = fmt.Sprintf("Inserted %d IP", num)
|
msg = fmt.Sprintf("Inserted %d IP", num)
|
||||||
|
} else {
|
||||||
|
msg = "No IP inserted"
|
||||||
}
|
}
|
||||||
return Result(c, err, msg)
|
return Result(c, err, msg)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user