Skip to content

Commit

Permalink
Исправляет логгер
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin-maxim committed Sep 26, 2023
1 parent e356156 commit 35ff241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VkNet/VkApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ private void BaseAuthorize(IApiAuthParams authParams)

private void Initialization(IServiceProvider serviceProvider)
{
_logger = serviceProvider.GetService<ILogger<VkApi>>();
_logger = serviceProvider.GetService<ILogger>();
CaptchaHandler = serviceProvider.GetRequiredService<ICaptchaHandler>();
_language = serviceProvider.GetRequiredService<ILanguageService>();
_rateLimiter = serviceProvider.GetRequiredService<IRateLimiter>();
Expand Down

0 comments on commit 35ff241

Please sign in to comment.