@@ -669,7 +669,7 @@ async function retrieveDomainBilling(ctx) {
669669 emailHelper ( {
670670 template : 'alert' ,
671671 message : {
672- to : config . email . message . from ,
672+ to : config . alertsEmail ,
673673 subject : paymentIntent
674674 ? `Error retrieving Stripe Payment Method ID ${ paymentIntent . payment_method } for ${ ctx . state . user . email } `
675675 : `Stripe Payment Intent/Method Error for ${ ctx . state . user . email } `
@@ -718,7 +718,7 @@ async function retrieveDomainBilling(ctx) {
718718 emailHelper ( {
719719 template : 'alert' ,
720720 message : {
721- to : config . email . message . from ,
721+ to : config . alertsEmail ,
722722 subject : `Error deleting Stripe subscription ID ${
723723 ctx . state . user [ config . userFields . stripeSubscriptionID ]
724724 } for ${ ctx . state . user . email } `
@@ -807,7 +807,7 @@ async function retrieveDomainBilling(ctx) {
807807 emailHelper ( {
808808 template : 'alert' ,
809809 message : {
810- to : config . email . message . from ,
810+ to : config . alertsEmail ,
811811 subject : `Error retrieving/creating stripe payment for ${ ctx . state . user . email } `
812812 } ,
813813 locals : {
@@ -832,7 +832,7 @@ async function retrieveDomainBilling(ctx) {
832832 emailHelper ( {
833833 template : 'alert' ,
834834 message : {
835- to : config . email . message . from ,
835+ to : config . alertsEmail ,
836836 subject : `Error saving user for ${ ctx . state . user . email } `
837837 } ,
838838 locals : {
@@ -901,7 +901,7 @@ async function retrieveDomainBilling(ctx) {
901901 emailHelper ( {
902902 template : 'alert' ,
903903 message : {
904- to : config . email . message . from ,
904+ to : config . alertsEmail ,
905905 subject : `Error deleting PayPal subscription ID ${
906906 ctx . state . user [ config . userFields . paypalSubscriptionID ]
907907 } for ${ ctx . state . user . email } `
@@ -1092,7 +1092,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
10921092 emailHelper ( {
10931093 template : 'alert' ,
10941094 message : {
1095- to : config . email . message . from ,
1095+ to : config . alertsEmail ,
10961096 subject : `Error retrieving/creating paypal payment for ${ ctx . state . user . email } `
10971097 } ,
10981098 locals : {
@@ -1116,7 +1116,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
11161116 emailHelper ( {
11171117 template : 'alert' ,
11181118 message : {
1119- to : config . email . message . from ,
1119+ to : config . alertsEmail ,
11201120 subject : `Error saving user for ${ ctx . state . user . email } `
11211121 } ,
11221122 locals : {
@@ -1171,7 +1171,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
11711171 emailHelper ( {
11721172 template : 'alert' ,
11731173 message : {
1174- to : config . email . message . from ,
1174+ to : config . alertsEmail ,
11751175 subject : `Error deleting PayPal subscription ID ${
11761176 ctx . state . user [ config . userFields . paypalSubscriptionID ]
11771177 } for ${ ctx . state . user . email } `
@@ -1324,7 +1324,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
13241324 emailHelper ( {
13251325 template : 'alert' ,
13261326 message : {
1327- to : config . email . message . from ,
1327+ to : config . alertsEmail ,
13281328 subject : `Error retrieving/creating paypal payment for ${ ctx . state . user . email } `
13291329 } ,
13301330 locals : {
@@ -1349,7 +1349,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
13491349 emailHelper ( {
13501350 template : 'alert' ,
13511351 message : {
1352- to : config . email . message . from ,
1352+ to : config . alertsEmail ,
13531353 subject : `Error saving user for ${ ctx . state . user . email } `
13541354 } ,
13551355 locals : {
@@ -1412,7 +1412,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
14121412 emailHelper ( {
14131413 template : 'alert' ,
14141414 message : {
1415- to : config . email . message . from ,
1415+ to : config . alertsEmail ,
14161416 subject : `Error deleting Stripe subscription ID when user set up PayPal${
14171417 ctx . state . user [ config . userFields . stripeSubscriptionID ]
14181418 } for ${ ctx . state . user . email } `
@@ -1503,7 +1503,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
15031503 emailHelper ( {
15041504 template : 'alert' ,
15051505 message : {
1506- to : config . email . message . from ,
1506+ to : config . alertsEmail ,
15071507 subject : `Error deleting Stripe subscription ID ${
15081508 ctx . state . user [ config . userFields . stripeSubscriptionID ]
15091509 } for ${ ctx . state . user . email } `
@@ -1537,7 +1537,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
15371537 emailHelper ( {
15381538 template : 'alert' ,
15391539 message : {
1540- to : config . email . message . from ,
1540+ to : config . alertsEmail ,
15411541 subject : `Error deleting PayPal subscription ID ${
15421542 ctx . state . user [ config . userFields . paypalSubscriptionID ]
15431543 } for ${ ctx . state . user . email } `
@@ -1626,7 +1626,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
16261626 emailHelper ( {
16271627 template : 'alert' ,
16281628 message : {
1629- to : config . email . message . from ,
1629+ to : config . alertsEmail ,
16301630 subject : `A refund error occurred for ${ ctx . state . user . email } `
16311631 } ,
16321632 locals : {
@@ -1693,7 +1693,7 @@ ${safeStringify(parseErr(err), null, 2)}</code></pre>`
16931693 emailHelper ( {
16941694 template : 'alert' ,
16951695 message : {
1696- to : config . email . message . from ,
1696+ to : config . alertsEmail ,
16971697 subject : `A refund error occurred for ${ ctx . state . user . email } `
16981698 } ,
16991699 locals : {
0 commit comments