remove from smtpClient username and password
This commit is contained in:
parent
0013810bb8
commit
9a8f348b2c
@ -13,8 +13,6 @@ type Deps struct {
|
|||||||
SmtpHost string
|
SmtpHost string
|
||||||
SmtpPort string
|
SmtpPort string
|
||||||
SmtpSender string
|
SmtpSender string
|
||||||
Username string
|
|
||||||
Password string
|
|
||||||
ApiKey string
|
ApiKey string
|
||||||
FiberClient *fiber.Client
|
FiberClient *fiber.Client
|
||||||
}
|
}
|
||||||
@ -24,8 +22,6 @@ type SmtpClient struct {
|
|||||||
smtpHost string
|
smtpHost string
|
||||||
smtpPort string
|
smtpPort string
|
||||||
smtpSender string
|
smtpSender string
|
||||||
username string
|
|
||||||
password string
|
|
||||||
apiKey string
|
apiKey string
|
||||||
fiberClient *fiber.Client
|
fiberClient *fiber.Client
|
||||||
}
|
}
|
||||||
@ -39,8 +35,6 @@ func NewSmtpClient(deps Deps) *SmtpClient {
|
|||||||
smtpHost: deps.SmtpHost,
|
smtpHost: deps.SmtpHost,
|
||||||
smtpPort: deps.SmtpPort,
|
smtpPort: deps.SmtpPort,
|
||||||
smtpSender: deps.SmtpSender,
|
smtpSender: deps.SmtpSender,
|
||||||
username: deps.Username,
|
|
||||||
password: deps.Password,
|
|
||||||
apiKey: deps.ApiKey,
|
apiKey: deps.ApiKey,
|
||||||
fiberClient: deps.FiberClient,
|
fiberClient: deps.FiberClient,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user