invoiceninja / sdk-php

PHP wrapper for Invoice Ninja's REST API
https://www.invoiceninja.com
83 stars 41 forks source link

Send function in Invoice Model class should return a raw response #58

Closed realnsleo closed 3 years ago

realnsleo commented 3 years ago

The response from the send function in Invoice.php is like:

{ 
    "message": success
}

And can therefore not be created into a new Model. There fore the called sendRequest method should be called with the flag raw set to true.