From dd5272b62d78a8119a21728f0697b7dbdc7f5c1a Mon Sep 17 00:00:00 2001 From: Linwenxuan <116782992+Linwenxuan05@users.noreply.github.com> Date: Sun, 29 Oct 2023 21:02:55 +0800 Subject: [PATCH] [Core] Fixed Dependency Injection --- Lagrange.OneBot/Core/Operation/OperationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lagrange.OneBot/Core/Operation/OperationService.cs b/Lagrange.OneBot/Core/Operation/OperationService.cs index e9c847e8f..e9e1cdd8c 100644 --- a/Lagrange.OneBot/Core/Operation/OperationService.cs +++ b/Lagrange.OneBot/Core/Operation/OperationService.cs @@ -16,7 +16,7 @@ public sealed class OperationService private readonly LagrangeWebSvcCollection _service; private readonly Dictionary _operations; - public OperationService(BotContext bot, Logger logger, LagrangeWebSvcCollection service) + public OperationService(BotContext bot, ILogger logger, LagrangeWebSvcCollection service) { _bot = bot; _logger = logger;