Skip to content

Commit

Permalink
Correct body
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Feb 7, 2020
1 parent 21c7b8c commit f26b44f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Models/CustomerInvoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function book($send_email = false)
];
}

return $this->request->client->post("{$this->entity}/{$this->{$this->primaryKey}}/book" . $query, $body)
return $this->request->client->post("{$this->entity}/{$this->{$this->primaryKey}}/book" . $query, [
'json' => $body,
])
->getBody()
->getContents();
});
Expand Down

0 comments on commit f26b44f

Please sign in to comment.