remove from smtpClient username and password

This commit is contained in:
Pavel 2024-06-11 19:36:23 +03:00
parent 0013810bb8
commit 9a8f348b2c

@ -13,8 +13,6 @@ type Deps struct {
SmtpHost string
SmtpPort string
SmtpSender string
Username string
Password string
ApiKey string
FiberClient *fiber.Client
}
@ -24,8 +22,6 @@ type SmtpClient struct {
smtpHost string
smtpPort string
smtpSender string
username string
password string
apiKey string
fiberClient *fiber.Client
}
@ -39,8 +35,6 @@ func NewSmtpClient(deps Deps) *SmtpClient {
smtpHost: deps.SmtpHost,
smtpPort: deps.SmtpPort,
smtpSender: deps.SmtpSender,
username: deps.Username,
password: deps.Password,
apiKey: deps.ApiKey,
fiberClient: deps.FiberClient,
}