mirror of
https://github.com/bitwarden/server.git
synced 2025-04-21 04:55:08 -05:00
fix logger ref
This commit is contained in:
parent
685928a4c7
commit
dc0bdfa28b
@ -32,14 +32,14 @@ namespace Bit.Core.Services
|
|||||||
globalSettings.Installation?.Id != null &&
|
globalSettings.Installation?.Id != null &&
|
||||||
CoreHelpers.SettingHasValue(globalSettings.Installation?.Key))
|
CoreHelpers.SettingHasValue(globalSettings.Installation?.Key))
|
||||||
{
|
{
|
||||||
_logger.LogInformation(Constants.BypassFiltersEventId, "Use RelayPushNotificationService");
|
logger.LogInformation(Constants.BypassFiltersEventId, "Use RelayPushNotificationService");
|
||||||
_services.Add(new RelayPushNotificationService(_deviceRepository, globalSettings,
|
_services.Add(new RelayPushNotificationService(_deviceRepository, globalSettings,
|
||||||
httpContextAccessor, relayLogger));
|
httpContextAccessor, relayLogger));
|
||||||
}
|
}
|
||||||
if(CoreHelpers.SettingHasValue(globalSettings.InternalIdentityKey) &&
|
if(CoreHelpers.SettingHasValue(globalSettings.InternalIdentityKey) &&
|
||||||
CoreHelpers.SettingHasValue(globalSettings.BaseServiceUri.InternalNotifications))
|
CoreHelpers.SettingHasValue(globalSettings.BaseServiceUri.InternalNotifications))
|
||||||
{
|
{
|
||||||
_logger.LogInformation(Constants.BypassFiltersEventId,
|
logger.LogInformation(Constants.BypassFiltersEventId,
|
||||||
"Use NotificationsApiPushNotificationService");
|
"Use NotificationsApiPushNotificationService");
|
||||||
_services.Add(new NotificationsApiPushNotificationService(
|
_services.Add(new NotificationsApiPushNotificationService(
|
||||||
globalSettings, httpContextAccessor, hubLogger));
|
globalSettings, httpContextAccessor, hubLogger));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user