Merge branch 'dev' into phonepe
This commit is contained in:
commit
3e1d74196d
3691
functions/package-lock.json
generated
3691
functions/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -37,7 +37,7 @@ const stripHtml = (html: string): string => {
|
||||
|
||||
async function sendSimpleEmail(data: EmailRequest, recipients: string[]) {
|
||||
const ses = new SESClient({
|
||||
region: 'ap-south-1',
|
||||
region: '#{AWS_REGION}#',
|
||||
credentials: {
|
||||
accessKeyId: process.env.AWS_ACCESS_KEY_ID || '',
|
||||
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY || ''
|
||||
@ -63,7 +63,7 @@ async function sendSimpleEmail(data: EmailRequest, recipients: string[]) {
|
||||
|
||||
async function sendEmailWithAttachments(data: EmailRequest, recipients: string[]) {
|
||||
const ses = new SESClient({
|
||||
region: '#{SERVICES_RGN}#',
|
||||
region: 'ap-south-1',
|
||||
credentials: {
|
||||
accessKeyId: process.env.AWS_ACCESS_KEY_ID || '',
|
||||
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY || ''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user