Additional updates to email templates
This commit is contained in:
+2
-2
@@ -839,7 +839,7 @@ const getMilestoneYearCount = (reminder: BirdMilestoneReminderCandidateRow) => {
|
||||
};
|
||||
|
||||
const getFlockPalLogoAttachment = () => {
|
||||
const logoPath = process.env.FLOCKPAL_EMAIL_LOGO_PATH?.trim() || path.join(process.cwd(), 'assets', 'flockpal-logo.png');
|
||||
const logoPath = path.join(process.cwd(), 'assets', 'flockpal-logo.png');
|
||||
|
||||
if (!existsSync(logoPath)) {
|
||||
console.warn(`Unable to load FlockPal email logo from ${logoPath}`);
|
||||
@@ -867,7 +867,7 @@ const parseDataImage = (dataUrl: string) => {
|
||||
};
|
||||
|
||||
const getDefaultBirdPhotoAttachment = () => {
|
||||
const defaultPhotoPath = process.env.DEFAULT_BIRD_PHOTO_PATH?.trim() || path.join(process.cwd(), 'assets', 'yoda.png');
|
||||
const defaultPhotoPath = path.join(process.cwd(), 'assets', 'yoda.png');
|
||||
|
||||
if (!existsSync(defaultPhotoPath)) {
|
||||
console.warn(`Unable to load default bird photo from ${defaultPhotoPath}`);
|
||||
|
||||
Reference in New Issue
Block a user