mirror of
https://github.com/kemko/xc.git
synced 2026-01-01 15:55:43 +03:00
removed redundand data populating
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user