Use hash data ob recipient to use hashes as recipient also.
This commit is contained in:
parent
4c0578f288
commit
77ef83f9b3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ module NotificationFactory
|
|||
{
|
||||
# :in_reply_to => self.in_reply_to,
|
||||
:from => sender,
|
||||
:to => data[:recipient].email,
|
||||
:to => data[:recipient][:email],
|
||||
:subject => data[:subject],
|
||||
:body => data[:body],
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue