Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envío de email a usuario registrado #43

Merged
merged 8 commits into from
Sep 26, 2022
Merged

Conversation

Alvaro1599
Copy link
Collaborator

No description provided.

@Alvaro1599
Copy link
Collaborator Author

Se realizó integración de envío de email al usuario registrado

if (err) {
return err
}
console.log(data,typeof data);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: console.log usar solo para debugear.

throw new Error(error)
}
}
static sendEmail = async (email,) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pasar a POO.

static logo = "https://firebasestorage.googleapis.com/v0/b/aplication1-35a9f.appspot.com/o/LOGO-SOMOS%20MAS.png?alt=media&token=0f852ec5-0c90-42af-aead-7ebe0f0b893a"
static subject="Confirmación de Registro"
static organizationName="SOMOS MAS"
static welcomeText="Bienvenido"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: dejaría algunas variables asociadas a una función de envío de bienvenida, así no es reutilizable para otra cosa.

Copy link
Collaborator

@soyarielruiz soyarielruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

throw new Error(error)
}
}
static async sendEmail(email,subject,welcomeText) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Esta función solo reconoce envío de bienvenida, tener en cuenta si se quiere extender.

@soyarielruiz soyarielruiz merged commit e299561 into development Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants