Skip to content

Commit

Permalink
[Core] Fixed Dependency Injection
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored and Linwenxuan committed Oct 29, 2023
1 parent 9c31d2e commit dd5272b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.OneBot/Core/Operation/OperationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed class OperationService
private readonly LagrangeWebSvcCollection _service;
private readonly Dictionary<string, IOperation> _operations;

public OperationService(BotContext bot, Logger<LagrangeApp> logger, LagrangeWebSvcCollection service)
public OperationService(BotContext bot, ILogger<LagrangeApp> logger, LagrangeWebSvcCollection service)
{
_bot = bot;
_logger = logger;
Expand Down

0 comments on commit dd5272b

Please sign in to comment.