From b44cea5ba6d2f3e651c28dd63e4746b8538be98a Mon Sep 17 00:00:00 2001 From: bjshirey Date: Wed, 8 Nov 2023 13:50:43 -0500 Subject: [PATCH] Update BounceRequest.php --- src/Requests/BounceRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Requests/BounceRequest.php b/src/Requests/BounceRequest.php index 251bba2..a6d9edc 100644 --- a/src/Requests/BounceRequest.php +++ b/src/Requests/BounceRequest.php @@ -50,7 +50,7 @@ public function bouncedRecipients(): array foreach ($recipients as $recipient) { $destinations[] = [ "email" => $recipient["emailAddress"], - "action" => $recipient["action"], + "action" => $recipient["action"] ?? null, "options" => array_merge($additional, [ "status" => $recipient["status"] ?? null, "diagnostic" => $recipient["diagnosticCode"] ?? null,