You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subject: `Payment Recieved for Invoice ${unmarshalledEntry.invoiceId}`,
288
-
content: `Received payment of ${withCurrency} by ${name} (${email}) for invoice ID ${unmarshalledEntry.invoiceId}. Please contact [email protected] with any questions.`,
289
-
},
290
-
};
291
-
if(!fastify.sqsClient){
292
-
fastify.sqsClient=newSQSClient({
293
-
region: genericConfig.AwsRegion,
278
+
if(unmarshalledEntry.userId.includes("@")){
279
+
request.log.info(
280
+
`Sending email to ${unmarshalledEntry.userId}...`,
subject: `Payment Recieved for Invoice ${unmarshalledEntry.invoiceId}`,
292
+
content: `Received payment of ${withCurrency} by ${name} (${email}) for invoice ID ${unmarshalledEntry.invoiceId}. Please contact [email protected] with any questions.`,
0 commit comments