diff --git a/src/Core/Services/Implementations/MultiServicePushNotificationService.cs b/src/Core/Services/Implementations/MultiServicePushNotificationService.cs index 7550932d34..bd47b2afac 100644 --- a/src/Core/Services/Implementations/MultiServicePushNotificationService.cs +++ b/src/Core/Services/Implementations/MultiServicePushNotificationService.cs @@ -17,7 +17,7 @@ namespace Bit.Core.Services GlobalSettings globalSettings, IHttpContextAccessor httpContextAccessor, ILogger<RelayPushNotificationService> relayLogger, - ILogger<HubApiPushNotificationService> hubLogger) + ILogger<NotificationsApiPushNotificationService> hubLogger) { if(globalSettings.SelfHosted) { @@ -30,7 +30,8 @@ namespace Bit.Core.Services if(CoreHelpers.SettingHasValue(globalSettings.InternalIdentityKey) && CoreHelpers.SettingHasValue(globalSettings.BaseServiceUri.InternalNotifications)) { - // _services.Add(new HubApiPushNotificationService(globalSettings, httpContextAccessor, hubLogger)); + // _services.Add(new NotificationsApiPushNotificationService( + // globalSettings, httpContextAccessor, hubLogger)); } } else diff --git a/src/Core/Services/Implementations/HubApiPushNotificationService.cs b/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs similarity index 95% rename from src/Core/Services/Implementations/HubApiPushNotificationService.cs rename to src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs index 54a4717fe7..4c0c54013a 100644 --- a/src/Core/Services/Implementations/HubApiPushNotificationService.cs +++ b/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs @@ -10,7 +10,7 @@ using System.Net.Http; namespace Bit.Core.Services { - public class HubApiPushNotificationService : BaseIdentityClientService, IPushNotificationService + public class NotificationsApiPushNotificationService : BaseIdentityClientService, IPushNotificationService { private readonly GlobalSettings _globalSettings; private readonly IHttpContextAccessor _httpContextAccessor; @@ -20,10 +20,10 @@ namespace Bit.Core.Services NullValueHandling = NullValueHandling.Ignore }; - public HubApiPushNotificationService( + public NotificationsApiPushNotificationService( GlobalSettings globalSettings, IHttpContextAccessor httpContextAccessor, - ILogger<HubApiPushNotificationService> logger) + ILogger<NotificationsApiPushNotificationService> logger) : base( globalSettings.BaseServiceUri.InternalNotifications, globalSettings.BaseServiceUri.InternalIdentity,