Skip to content

Commit

Permalink
Merge pull request #1 from dashford/patch-1
Browse files Browse the repository at this point in the history
Update recipient metadata array key
  • Loading branch information
jlinn committed Oct 15, 2015
2 parents dc8c29b + ac7592d commit 3b8d9ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mandrill/Struct/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public function addRecipient(Recipient $recipient){
);
$this->recipient_metadata[] = array(
'rcpt' => $recipient->email,
'vars' => $recipient->getMetadata()
'values' => $recipient->getMetadata()
);
return $this;
}
Expand All @@ -293,4 +293,4 @@ public function addImage(Attachment $image){
$this->images[] = $image->toArray();
return $this;
}
}
}

0 comments on commit 3b8d9ed

Please sign in to comment.