diff --git a/cmd/api.go b/cmd/api.go index 26f18ce..71e1304 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -32,9 +32,6 @@ var apiCmd = &cobra.Command{ v0 := e.Group("/v0") handler := apihandler.New() - if &handler == nil { - log.Fatal("Newly created APIHandler is nil") - } handler.BottinAPIClient = bottindata.NewApiClient("bottin", "localhost", "http", 1312)