Implémenter cfg.Bottin.API.Host

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-16 18:16:32 -04:00
parent bc55ef03f1
commit ea49f1609f

View file

@ -32,7 +32,7 @@ var apiCmd = &cobra.Command{
v0 := e.Group("/v0") 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) dbClient, err := dbclient.New("db", "bottinag", "bottinag", "bottinag", 5432, false)
if err != nil { if err != nil {