diff --git a/WebStarter/Controllers/SwapMonitorController.cs b/WebStarter/Controllers/SwapMonitorController.cs index f0df26c..a538756 100644 --- a/WebStarter/Controllers/SwapMonitorController.cs +++ b/WebStarter/Controllers/SwapMonitorController.cs @@ -29,8 +29,10 @@ public class SwapMonitorController : ControllerBase private readonly IStringLocalizer _localizer; public readonly SwapOrderRepository _swapOrderRepository; - public SwapMonitorController(MonitorService swapMonitorService, BinInfoService binInfoService,SwapOrderRepository swapOrderRepository) + public SwapMonitorController(MonitorService swapMonitorService, BinInfoService binInfoService,SwapOrderRepository swapOrderRepository, + IStringLocalizer localizer) { + _localizer = localizer; _swapMonitorService = swapMonitorService; _binInfoService = binInfoService; _swapOrderRepository = swapOrderRepository;