Skip to content

Commit

Permalink
Update personalization setter
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed May 27, 2017
1 parent 1eeb524 commit ce34d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sendgrid/helpers/mail/mail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize(from_email=nil, subj=nil, to_email=nil, cont=nil)
self.from = from_email
self.subject = subj
personalization = Personalization.new
personalization.to = to_email
personalization.add_to(to_email)
self.add_personalization(personalization)
self.add_content(cont)
end
Expand Down

0 comments on commit ce34d8f

Please sign in to comment.