mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 02:26:16 -06:00
go fmt
This commit is contained in:
parent
c868cc3e65
commit
ba1c49b7f9
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ func (suite *UtilTestSuite) TestTemplateReset() {
|
|||
Username: "test",
|
||||
InstanceURL: "https://example.org",
|
||||
InstanceName: "Test Instance",
|
||||
ResetLink: "https://example.org/reset_email?token=ee24f71d-e615-43f9-afae-385c0799b7fa",
|
||||
ResetLink: "https://example.org/reset_email?token=ee24f71d-e615-43f9-afae-385c0799b7fa",
|
||||
}
|
||||
mailBody, err := suite.sender.ExecuteTemplate("email_reset.tmpl", resetData)
|
||||
suite.NoError(err)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ func NewEmailSender(templateBaseDir string) email.Sender {
|
|||
cfg.TemplateConfig.BaseDir = templateBaseDir
|
||||
|
||||
s, err := email.NewSender(cfg)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue