mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
enable notifications services
This commit is contained in:
@ -30,8 +30,8 @@ namespace Bit.Core.Services
|
||||
if(CoreHelpers.SettingHasValue(globalSettings.InternalIdentityKey) &&
|
||||
CoreHelpers.SettingHasValue(globalSettings.BaseServiceUri.InternalNotifications))
|
||||
{
|
||||
// _services.Add(new NotificationsApiPushNotificationService(
|
||||
// globalSettings, httpContextAccessor, hubLogger));
|
||||
_services.Add(new NotificationsApiPushNotificationService(
|
||||
globalSettings, httpContextAccessor, hubLogger));
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -42,7 +42,7 @@ namespace Bit.Core.Services
|
||||
}
|
||||
if(CoreHelpers.SettingHasValue(globalSettings.Notifications?.ConnectionString))
|
||||
{
|
||||
// _services.Add(new AzureQueuePushNotificationService(globalSettings, httpContextAccessor));
|
||||
_services.Add(new AzureQueuePushNotificationService(globalSettings, httpContextAccessor));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user