Ajouter et implémenter cfg.Bottin.API.Key
This commit is contained in:
parent
ea49f1609f
commit
9b6dd055ef
2 changed files with 8 additions and 1 deletions
|
@ -32,7 +32,7 @@ var apiCmd = &cobra.Command{
|
|||
|
||||
v0 := e.Group("/v0")
|
||||
|
||||
bottinApiClient := bottindata.NewApiClient("bottin", cfg.Bottin.API.Host, "http", 1312)
|
||||
bottinApiClient := bottindata.NewApiClient(cfg.Bottin.API.Key, cfg.Bottin.API.Host, "http", 1312)
|
||||
|
||||
dbClient, err := dbclient.New("db", "bottinag", "bottinag", "bottinag", 5432, false)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue