Skip to content

Commit

Permalink
Fix: campaign custom data should not be converted to json
Browse files Browse the repository at this point in the history
  • Loading branch information
dompie committed Jul 4, 2024
1 parent 97ee201 commit 0018580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function withPreviewText(string $text): self

public function withCustomData(array $data): self
{
$this->data['data'] = json_encode($data, JSON_THROW_ON_ERROR);
$this->data['data'] = $data;

return $this;
}
Expand Down

0 comments on commit 0018580

Please sign in to comment.