Skip to content

Commit 516187c

Browse files
authored
remove type casting to allow addDynamicTemplateData to accept arrays. (#7)
1 parent bbef13a commit 516187c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SendGridMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function build(): Mail
122122
}
123123

124124
foreach ($this->payload as $key => $value) {
125-
$email->addDynamicTemplateData((string) $key, (string) $value);
125+
$email->addDynamicTemplateData((string) $key, $value);
126126
}
127127

128128
return $email;

0 commit comments

Comments
 (0)