node-sendgrid
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "node-sendgrid", | ||
"description": "SendGrid SMTP API headers library", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/HerdHound/node-sendgrid", | ||
@@ -6,0 +6,0 @@ "keywords": ["email", "smtp", "sendgrid"], |
@@ -20,3 +20,3 @@ /** | ||
function addTo(to, headers) { | ||
if (!to) { | ||
if (!to || !to.length) { | ||
return; | ||
@@ -23,0 +23,0 @@ } |
Sorry, the diff of this file is not supported yet
11595