Skip to content

Commit

Permalink
Merge pull request #5 from lundco/send-order-fix
Browse files Browse the repository at this point in the history
Send order fix
  • Loading branch information
sanderha committed Jan 4, 2019
2 parents 15ad120 + ccfb376 commit 8fbe215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/EconomicClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function getOrderDraft($orderNumber){
*/
public function sendOrderDraft($orderNumber){
$orderDocument = $this->get('orders/drafts/'.$orderNumber)->asArray();
return $this->POST('orders/sent',$orderDocument)->asArray();
return $this->post('orders/sent/'.$orderNumber,$orderDocument)->asArray();
}

/**
Expand Down

0 comments on commit 8fbe215

Please sign in to comment.