File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ public static void AddFinancialModelingPrepApiClient(this IServiceCollection ser
34
34
=> client . BaseAddress = new Uri ( "https://financialmodelingprep.com/api/" ) ) ;
35
35
36
36
services . TryAddSingleton < IFinancialModelingPrepApiClient , FinancialModelingPrepApiClient > ( ) ;
37
- services . TryAddScoped < ICompanyValuationProvider , CompanyValuationProvider > ( ) ;
38
- services . TryAddScoped < IMarketIndexesProvider , MarketIndexesProvider > ( ) ;
39
- services . TryAddScoped < IAdvancedDataProvider , AdvancedDataProvider > ( ) ;
40
- services . TryAddScoped < ICalendarsProvider , CalendarsProvider > ( ) ;
41
- services . TryAddScoped < IInstitutionalFundProvider , InstitutionalFundProvider > ( ) ;
37
+ services . TryAddTransient < ICompanyValuationProvider , CompanyValuationProvider > ( ) ;
38
+ services . TryAddTransient < IMarketIndexesProvider , MarketIndexesProvider > ( ) ;
39
+ services . TryAddTransient < IAdvancedDataProvider , AdvancedDataProvider > ( ) ;
40
+ services . TryAddTransient < ICalendarsProvider , CalendarsProvider > ( ) ;
41
+ services . TryAddTransient < IInstitutionalFundProvider , InstitutionalFundProvider > ( ) ;
42
42
}
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments