Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronAP authored Dec 30, 2022
2 parents d85f541 + db282e2 commit ae98385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoinGeckoAPI/CoinGeckoServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static IServiceCollection AddCoinGeckoApi(this IServiceCollection service

public static IServiceCollection AddCoinGeckoApi(this IServiceCollection services, string apiKey)
=> services.AddSingleton<CoinGeckoClient>(new CoinGeckoClient(apiKey: apiKey));

public static IServiceCollection AddCoinGeckoApi(this IServiceCollection services, ILogger<CoinGeckoClient> logger)
=> services.AddSingleton<CoinGeckoClient>(new CoinGeckoClient(logger: logger));

Expand Down

0 comments on commit ae98385

Please sign in to comment.