Skip to content

Commit

Permalink
Merge pull request #648 from tobz-nz/patch-1
Browse files Browse the repository at this point in the history
Fix timeout issue sending invoice email
  • Loading branch information
calcinai authored Oct 22, 2019
2 parents dded2c0 + bd32a5b commit 8d4e270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XeroPHP/Traits/SendEmailTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function sendEmail()

$url = new URL($this->_application, $uri);
$request = new Request($this->_application, $url, Request::METHOD_POST);
$request->setBody('');

$request->send();

Expand Down

0 comments on commit 8d4e270

Please sign in to comment.