This commit is contained in:
parent
9677593085
commit
9803adfbb9
@ -34,7 +34,6 @@ func RegisterRoutes(e *echo.Echo, ctx *context.Context, cfg *config.Config) {
|
|||||||
return Result(c, fmt.Errorf("error when parsing body"), "")
|
return Result(c, fmt.Errorf("error when parsing body"), "")
|
||||||
}
|
}
|
||||||
numinsert, numupdate, err := ip.InsertOrUpdate(cfg)
|
numinsert, numupdate, err := ip.InsertOrUpdate(cfg)
|
||||||
fmt.Println(err)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return Result(c, err, "")
|
return Result(c, err, "")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user