mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Improving error reporting API
This commit is contained in:
parent
1fde9261e6
commit
a1be1f3529
@ -289,7 +289,7 @@ class InvoiceApiController extends BaseAPIController
|
||||
return $this->errorResponse(['message'=>'Invoice does not exist.'], 400);
|
||||
|
||||
|
||||
$this->mailer->sendInvoice($invoice, false, $invoice->getPDFString());
|
||||
$this->mailer->sendInvoice($invoice, false, false);
|
||||
|
||||
|
||||
if($error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user