tango-app-api-payment-subscription 3.4.0-alpha.5 → 3.4.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -436,7 +436,8 @@ export async function invoiceDownload( req, res ) {
|
|
|
436
436
|
}
|
|
437
437
|
console.log( getgroup.generateInvoiceTo );
|
|
438
438
|
const SES = JSON.parse( process.env.SES );
|
|
439
|
-
let fromEmail = SES.
|
|
439
|
+
let fromEmail = SES.accountsEmail;
|
|
440
|
+
console.log( fromEmail );
|
|
440
441
|
const result = await sendEmailWithSES( getgroup.generateInvoiceTo, mailSubject, mailbody, attachments, fromEmail );
|
|
441
442
|
console.log( result );
|
|
442
443
|
let logObj = {
|
|
@@ -1774,6 +1774,7 @@ export const storeLocationList = async ( req, res ) => {
|
|
|
1774
1774
|
return { id: item.id, storeId: item.storeId, storeName: item.storeName };
|
|
1775
1775
|
} );
|
|
1776
1776
|
location = storeDetails.filter( ( item ) => item.storeProfile.city != '' && item.storeProfile.city != null && typeof ( item.storeProfile.city ) != undefined ).map( ( item ) => item.storeProfile.city );
|
|
1777
|
+
location = [ ...new Set( location ) ];
|
|
1777
1778
|
}
|
|
1778
1779
|
let productDetails = await basePricingService.findOne( { clientId: { $exists: false } }, { 'basePricing': 1, '_id': 0 } );
|
|
1779
1780
|
let product = productDetails.basePricing.map( ( item ) => item.productName );
|