diff --git a/src/ExpoNotificationsService.php b/src/ExpoNotificationsService.php index ca37060..7a60475 100644 --- a/src/ExpoNotificationsService.php +++ b/src/ExpoNotificationsService.php @@ -119,7 +119,7 @@ public function receipts(Collection|array $tokenIds): Collection ->status($responseItem['status']); if ($responseItem['status'] === ExpoResponseStatus::ERROR->value) { - $responseItemDetails = is_string($responseItem['details']) ? json_decode($responseItem['details']) : $responseItem['details']; + $responseItemDetails = is_string($responseItem['details']) ? json_decode($responseItem['details'], true) : $responseItem['details']; $data ->message($responseItem['message'])