mirror of
https://github.com/bitwarden/server
synced 2026-01-08 19:43:34 +00:00
Added SendGridApiHost to Globals (#5961)
* Added SendGridApiHost to Globals * Added SendGridApiHost for test coverage
This commit is contained in:
@@ -21,7 +21,7 @@ public class SendGridMailDeliveryService : IMailDeliveryService, IDisposable
|
||||
GlobalSettings globalSettings,
|
||||
IWebHostEnvironment hostingEnvironment,
|
||||
ILogger<SendGridMailDeliveryService> logger)
|
||||
: this(new SendGridClient(globalSettings.Mail.SendGridApiKey),
|
||||
: this(new SendGridClient(globalSettings.Mail.SendGridApiKey, globalSettings.Mail.SendGridApiHost),
|
||||
globalSettings, hostingEnvironment, logger)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user