Update Error Password
This commit is contained in:
@@ -158,7 +158,7 @@ func (u *AuthServiceImpl) SendPasswordResetLink(ctx context.Context, email strin
|
||||
if err != nil {
|
||||
u.trxRepo.Rollback(trx)
|
||||
logger.ContextLogger(ctx).Error("error when sending password reset email", zap.Error(err))
|
||||
return errors.ErrorInternalServer
|
||||
return errors.ErrorExternalRequest
|
||||
}
|
||||
|
||||
trx.Commit()
|
||||
|
||||
Reference in New Issue
Block a user