@sendgrid/helpers
Advanced tools
Comparing version 6.1.1 to 6.1.2
@@ -489,3 +489,3 @@ 'use strict'; | ||
const json = { | ||
from, subject, content, | ||
from, subject, | ||
personalizations: arrayToJSON(personalizations), | ||
@@ -501,2 +501,5 @@ }; | ||
} | ||
if (Array.isArray(content) && content.length > 0) { | ||
json.content = arrayToJSON(content); | ||
} | ||
@@ -503,0 +506,0 @@ //Object properties |
{ | ||
"name": "@sendgrid/helpers", | ||
"description": "SendGrid NodeJS internal helpers", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"author": "SendGrid <dx@sendgrid.com> (sendgrid.com)", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
87851
2960