Skip to content

Commit

Permalink
[fix]送信元のメールアドレスを共有メアドに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
KazumaSun committed Mar 5, 2024
1 parent 906b5f2 commit 674194a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/env/dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ NUTMEG_DB_HOST="nutfes-finansu-db"
NUTMEG_DB_PORT="3306"
NUTMEG_DB_NAME="finansu_db"

NUTMEG_MAIL_SENDER="22.m.sato.[email protected]"
NUTMEG_MAIL_PASSWORD="vephvnmuxszssmoa"
NUTMEG_MAIL_SENDER="nutfes.finansu@gmail.com"
NUTMEG_MAIL_PASSWORD="xmifwkbpiybisqto"
2 changes: 1 addition & 1 deletion api/internals/usecase/mail_auth_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (u *mailAuthUseCase) SendResetPassword(c context.Context, email string) (do
token.AccessToken = accessToken

// メール送信
receiverEmail := []string{mailAuth.Email}
receiverEmail := []string{email}
err = u.mailAuthRep.SendResetPassword(c, receiverEmail)
if err != nil {
return token, err
Expand Down

0 comments on commit 674194a

Please sign in to comment.