Skip to content

Commit

Permalink
Merge pull request #1 from joecampo/master
Browse files Browse the repository at this point in the history
Fixed query params for listing shipments.
  • Loading branch information
michaelbonds authored Dec 18, 2016
2 parents d000d8b + 8a0f460 commit db6b067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Endpoints/Shipments.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ class Shipments extends BaseEndpoint
protected $endpoint = '/shipments';

/**
* Get a list o
* Get a list of shipments or query shipments.
* @param array $query
* @return \GuzzleHttp\Psr7\Response
*/
public function listShipments($query = [])
{
return $this->get('', ['form_params' => $query]);
return $this->get('', ['query' => $query]);
}

/**
Expand Down

0 comments on commit db6b067

Please sign in to comment.