text changes and remove infra folder
This commit is contained in:
@@ -42,7 +42,7 @@ class AlphaInvitationEmailService {
|
||||
}
|
||||
|
||||
try {
|
||||
const frontendUrl = process.env.FRONTEND_URL || "http://localhost:3000";
|
||||
const frontendUrl = process.env.FRONTEND_URL;
|
||||
|
||||
const variables = {
|
||||
code: code,
|
||||
@@ -54,13 +54,13 @@ class AlphaInvitationEmailService {
|
||||
|
||||
const htmlContent = await this.templateManager.renderTemplate(
|
||||
"alphaInvitationToUser",
|
||||
variables
|
||||
variables,
|
||||
);
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
email,
|
||||
"Your Alpha Access Code - Village Share",
|
||||
htmlContent
|
||||
htmlContent,
|
||||
);
|
||||
} catch (error) {
|
||||
logger.error("Failed to send alpha invitation email", { error });
|
||||
|
||||
Reference in New Issue
Block a user