1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 03:03:33 +00:00

fix warnings

This commit is contained in:
Kyle Spearrin
2020-01-10 08:47:58 -05:00
parent 29580684a3
commit 7fd6e4359d
12 changed files with 28 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ namespace Bit.Core.Services
public class AmazonSesMailDeliveryService : IMailDeliveryService, IDisposable
{
private readonly GlobalSettings _globalSettings;
private readonly IHostingEnvironment _hostingEnvironment;
private readonly IWebHostEnvironment _hostingEnvironment;
private readonly ILogger<AmazonSesMailDeliveryService> _logger;
private readonly AmazonSimpleEmailServiceClient _client;
private readonly string _source;
@@ -23,7 +23,7 @@ namespace Bit.Core.Services
public AmazonSesMailDeliveryService(
GlobalSettings globalSettings,
IHostingEnvironment hostingEnvironment,
IWebHostEnvironment hostingEnvironment,
ILogger<AmazonSesMailDeliveryService> logger)
{
if(string.IsNullOrWhiteSpace(globalSettings.Amazon?.AccessKeyId))