Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed issue for web and smtp format #21

Merged
merged 1 commit into from
Jan 17, 2012

Conversation

siyegen
Copy link
Contributor

@siyegen siyegen commented Jan 17, 2012

No description provided.


return data;
}

Email.prototype.checkAddTo = function(data) {
if (_.isEmpty(data.to) && this.smtpapi.to && !_.isEmpty(this.smtpapi.to)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to find a better way to do this check because of the way underscore handles isEmpty on undefined

partkyle added a commit that referenced this pull request Jan 17, 2012
fixed issue for web and smtp format
@partkyle partkyle merged commit 5265945 into sendgrid:master Jan 17, 2012
@thinkingserious thinkingserious mentioned this pull request Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants