From ea49f1609ffbce4fd4d37e57c5a1cb1402cdeb3c Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Sat, 16 Sep 2023 18:16:32 -0400 Subject: [PATCH] =?UTF-8?q?Impl=C3=A9menter=20cfg.Bottin.API.Host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api.go b/cmd/api.go index d0e5c5b..36bfedc 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -32,7 +32,7 @@ var apiCmd = &cobra.Command{ v0 := e.Group("/v0") - bottinApiClient := bottindata.NewApiClient("bottin", "localhost", "http", 1312) + bottinApiClient := bottindata.NewApiClient("bottin", cfg.Bottin.API.Host, "http", 1312) dbClient, err := dbclient.New("db", "bottinag", "bottinag", "bottinag", 5432, false) if err != nil {