Skip to content

Commit

Permalink
Fix manifesting more than one parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbmarshall authored Aug 24, 2021
1 parent 2f11c07 commit 6bb3a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auspost.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function createOrder($shipment_ids) {
'shipments' => [],
];
foreach ($shipment_ids as $shipment_id) {
$request['shipments'] = [
$request['shipments'][] = [
'shipment_id' => $shipment_id,
];
}
Expand Down

0 comments on commit 6bb3a81

Please sign in to comment.