Dun.Jason 2 år sedan
förälder
incheckning
4c31859940

+ 2 - 1
src/CallCenter.Application/Handlers/FlowControl/InviteNotificationHandler.cs

@@ -33,7 +33,7 @@ namespace CallCenter.Application.Handlers
         private readonly ILogger<IncomingNotificationHandler> _logger;
         private readonly IIvrCacheManager _ivrCacheManager;
 
-        public InviteNotificationHandler(ICallRepository callRepository, ICallDetailRepository callDetailRepository, IUserCacheManager userCacheManager, IBlacklistDomainService blacklistDomainService, INewRockClient newRockClient, IOptionsSnapshot<DeviceConfigs> options, IOptionsSnapshot<WorkTimeSettings> workTimeOptions, ISystemSettingCacheManager systemSettingCacheManager,ITypedCache<WorkTimeSettings> worktimeCache, IIvrCacheManager ivrCacheManager)
+        public InviteNotificationHandler(ICallRepository callRepository, ICallDetailRepository callDetailRepository, IUserCacheManager userCacheManager, IBlacklistDomainService blacklistDomainService, INewRockClient newRockClient, IOptionsSnapshot<DeviceConfigs> options, IOptionsSnapshot<WorkTimeSettings> workTimeOptions, ISystemSettingCacheManager systemSettingCacheManager,ITypedCache<WorkTimeSettings> worktimeCache, ILogger<IncomingNotificationHandler> logger, IIvrCacheManager ivrCacheManager)
         {
             _callRepository = callRepository;
             _callDetailRepository = callDetailRepository;
@@ -45,6 +45,7 @@ namespace CallCenter.Application.Handlers
             _systemSettingCacheManager = systemSettingCacheManager;
             _worktimeCache = worktimeCache;
             _ivrCacheManager = ivrCacheManager;
+            _logger = logger;
         }
 
         public bool IsInWrokTime()