Skip to content

Commit

Permalink
Move status from in_transit to delivered
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Nov 3, 2019
1 parent 157023e commit 01b679e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Trackers/PostCH.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ protected function createApiUser()

$user = json_decode($response->getBody()->getContents());


if (!$user) {
return;
}
Expand Down Expand Up @@ -273,6 +272,7 @@ protected function resolveStatus($eventCode)
$statuses = [
Track::STATUS_DELIVERED => [
'LETTER.*.88.40',
'LETTER.*.88.20',
],
Track::STATUS_IN_TRANSIT => [
'LETTER.*.88.912',
Expand All @@ -283,7 +283,6 @@ protected function resolveStatus($eventCode)
'LETTER.*.88.10',
'LETTER.*.88.13',
'LETTER.*.88.18',
'LETTER.*.88.20',
],
Track::STATUS_PICKUP => [
'LETTER.*.88.21',
Expand Down

0 comments on commit 01b679e

Please sign in to comment.