removed redundand data populating
Some checks failed
build / build (amd64, 1.19, linux) (push) Has been cancelled
build / build (arm64, 1.19, linux) (push) Has been cancelled

This commit is contained in:
Dmitrii Andreev
2024-11-18 11:40:41 +03:00
parent e3a4178543
commit ab9b8c4607

View File

@@ -45,12 +45,6 @@ func New(cfg *config.XCConfig) (*Yanductor, error) {
y.apiURL = apiURL
// Load data to populate fields
err := y.Load()
if err != nil {
return nil, fmt.Errorf("error loading data: %s", err)
}
return y, nil
}