@pixul/nodemailer-sparkpost
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -48,5 +48,12 @@ 'use strict'; | ||
const res = await this.resolveAndSend(message, resolveme, request); | ||
try { | ||
callback(null, res); //This is ugly, but nodemailer doesn't support promise for .send method | ||
const res = await this.resolveAndSend(message, resolveme, request); | ||
callback(null, res); //This is ugly, but nodemailer doesn't support promise for .send method | ||
} | ||
catch (err) { | ||
callback(err); | ||
} | ||
} | ||
@@ -53,0 +60,0 @@ |
{ | ||
"name": "@pixul/nodemailer-sparkpost", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "SparkPost transport for Nodemailer", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
435
46481