update remaining references to internal.OpenFIGI
Generate check / check-changes (pull_request) Successful in 58s
Generate check / verify-generate (pull_request) Skipped
Quality / check-changes (pull_request) Successful in 1m4s
Quality / run-tests (pull_request) Successful in 1m52s

This commit is contained in:
2026-08-02 11:20:36 +01:00
parent c08261c1fb
commit 43e086f752
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func run(ctx context.Context) error {
func getReader(platform string, ofAPIKey string) (internal.RecordReader, error) {
switch platform {
case "trading212":
return trading212.NewRecordReader(os.Stdin, ofigi.NewClient(&http.Client{Timeout: 5 * time.Second}, ofAPIKey)), nil
return trading212.NewRecordReader(os.Stdin, ofigi.NewOpenFIGI(&http.Client{Timeout: 5 * time.Second}, ofAPIKey)), nil
default:
return nil, fmt.Errorf("unsupported platform: %s", platform)
}