diff --git a/README.md b/README.md index 25c2d62..e06a6d9 100644 --- a/README.md +++ b/README.md @@ -403,6 +403,7 @@ FanCourier::exportAwbErrors() ```php FanCourier::getAwb([ 'nr'=>'2337600120003', //AWB + 'type' => '2', //1,2,3 ]) ``` diff --git a/src/Requests/GetAwb.php b/src/Requests/GetAwb.php index 0b214c4..a572375 100644 --- a/src/Requests/GetAwb.php +++ b/src/Requests/GetAwb.php @@ -52,7 +52,8 @@ public function validate($params = array()) private function methodRequirements() { return [ - 'nr', //AWB + 'nr', //AWB, + 'type' ]; } }