From a34aaa99cc8e4215946f708d1b5d9f40ac25b1e5 Mon Sep 17 00:00:00 2001 From: bam-bam-bigelow <46587439+bam-bam-bigelow@users.noreply.github.com> Date: Fri, 6 Mar 2020 21:39:43 +0300 Subject: [PATCH] update description of Fedex tracking I am proposing to change Fedex tracking description, because your field 'scanDetails' is empty all the time --- src/Trackers/Fedex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Trackers/Fedex.php b/src/Trackers/Fedex.php index 1be6e37..c82b976 100644 --- a/src/Trackers/Fedex.php +++ b/src/Trackers/Fedex.php @@ -101,7 +101,7 @@ protected function buildResponse($response) foreach ($contents['scanEventList'] as $scanEvent) { $track->addEvent(Event::fromArray([ 'location' => $scanEvent['scanLocation'], - 'description' => $scanEvent['scanDetails'], + 'description' => $scanEvent['status'], 'date' => $this->getDate($scanEvent), 'status' => $status = $this->resolveState($scanEvent) ]));