mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
rename hubapi notification service
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
Reference in New Issue
Block a user