working on amazon payment promisification

This commit is contained in:
Victor Piousbox
2016-04-15 16:40:24 +00:00
parent 2bb36b5e04
commit 4a45fc1c37
4 changed files with 11 additions and 10 deletions

View File

@@ -12,7 +12,10 @@ import _ from 'lodash';
import { removeFromArray } from '../../libs/api-v3/collectionManipulators';
import { sendTxn } from '../../libs/api-v3/email';
import nconf from 'nconf';
import setupNconf from '../../libs/api-v3/setupNconf';
setupNconf();
console.log('+++ +++ this:', nconf.get('FLAG_REPORT_EMAIL'));
const FLAG_REPORT_EMAILS = nconf.get('FLAG_REPORT_EMAIL').split(',').map((email) => {
return { email, canSend: true };
});