chore: Update from email addresses
All checks were successful
Deploy to Staging / Build Images (push) Successful in 3m44s
Deploy to Staging / Deploy to Staging (push) Successful in 53s
Deploy to Staging / Verify Staging (push) Successful in 10s
Deploy to Staging / Notify Staging Ready (push) Successful in 9s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
All checks were successful
Deploy to Staging / Build Images (push) Successful in 3m44s
Deploy to Staging / Deploy to Staging (push) Successful in 53s
Deploy to Staging / Verify Staging (push) Successful in 10s
Deploy to Staging / Notify Staging Ready (push) Successful in 9s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
This commit is contained in:
@@ -16,7 +16,7 @@ export class EmailService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.resend = new Resend(apiKey);
|
this.resend = new Resend(apiKey);
|
||||||
this.fromEmail = process.env['FROM_EMAIL'] || 'noreply@motovaultpro.com';
|
this.fromEmail = process.env['FROM_EMAIL'] || 'info@notify.motovaultpro.com';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ echo " Subject: $SUBJECT"
|
|||||||
# Build JSON payload
|
# Build JSON payload
|
||||||
JSON_PAYLOAD=$(cat <<EOF
|
JSON_PAYLOAD=$(cat <<EOF
|
||||||
{
|
{
|
||||||
"from": "MotoVaultPro <deploy@motovaultpro.com>",
|
"from": "MotoVaultPro <deploy@notify.motovaultpro.com>",
|
||||||
"to": ["$NOTIFY_EMAIL"],
|
"to": ["$NOTIFY_EMAIL"],
|
||||||
"subject": "$SUBJECT",
|
"subject": "$SUBJECT",
|
||||||
"html": $(echo "$HTML_BODY" | jq -Rs .)
|
"html": $(echo "$HTML_BODY" | jq -Rs .)
|
||||||
|
|||||||
Reference in New Issue
Block a user