mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-04 05:33:34 +03:00
set empty array when no message headers for message show response (#815)
This commit is contained in:
parent
c0d5f41719
commit
2395e5d232
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ final class ShowResponse implements ApiResponse
|
|||
$model->bodyHtml = $data['body-html'] ?? null;
|
||||
$model->strippedHtml = $data['stripped-html'] ?? null;
|
||||
$model->messageUrl = $data['message-url'] ?? null;
|
||||
$model->messageHeaders = $data['message-headers'] ?? null;
|
||||
$model->messageHeaders = $data['message-headers'] ?? [];
|
||||
$model->recipient = $data['recipient'] ?? null;
|
||||
$model->bodyMime = $data['body-mime'] ?? null;
|
||||
$model->attachments = $data['attachments'] ?? [];
|
||||
|
|
Loading…
Add table
Reference in a new issue