Init clients when init app

This commit is contained in:
Miguel de la Cruz 2020-04-29 20:47:13 +02:00
parent 114f73f9f5
commit 1ccd21f59c

View file

@ -71,5 +71,8 @@ func NewApp(path string) (*App, error) {
if err := app.Load(); err != nil { if err := app.Load(); err != nil {
return nil, err return nil, err
} }
if err := app.InitClients(); err != nil {
return nil, err
}
return app, nil return app, nil
} }