1
0
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:
Kyle Spearrin
2018-08-17 18:04:11 -04:00
parent 40a410917f
commit 5766c1f6f3
4 changed files with 7 additions and 7 deletions

View File

@ -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));
}
}
}