Skip to content

Commit

Permalink
Add elements include on get order method
Browse files Browse the repository at this point in the history
  • Loading branch information
aztech-dev committed May 18, 2016
1 parent cf2ca4b commit 87a9496
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PhraseanetSDK/Orders/OrderRepository.php
Expand Up @@ -20,7 +20,10 @@ class OrderRepository extends AbstractRepository
public function getOrder($orderId)
{
// 't' param is used for cache busting
$parameters = [ 't' => time() ];
$parameters = [
'includes' => [ 'elements' ],
't' => time()
];

$response = $this->query('GET', 'v2/orders/' . $orderId, $parameters);

Expand Down

0 comments on commit 87a9496

Please sign in to comment.