1
0
mirror of https://github.com/bitwarden/server synced 2025-12-21 18:53:41 +00:00

Added SendGridApiHost to Globals (#5961)

* Added SendGridApiHost to Globals

* Added SendGridApiHost for test coverage
This commit is contained in:
Alexey Zilber
2025-06-17 21:35:38 +08:00
committed by GitHub
parent a529492d1d
commit 17507446a4
3 changed files with 4 additions and 2 deletions

View File

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