fix mail subject

This commit is contained in:
xmdhs 2023-11-25 17:47:51 +08:00
parent e49cd34122
commit afdfa4c413
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -147,7 +147,7 @@ func (e EmailService) SendVerifyUrl(ctx context.Context, email string, interval
return fmt.Errorf("SendVerifyUrl: %w", err)
}
err = e.SendEmail(ctx, email, "验证你的邮箱", body.String())
err = e.SendEmail(ctx, email, subject, body.String())
if err != nil {
return fmt.Errorf("SendVerifyUrl: %w", err)
}