mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Fix quote api controller
This commit is contained in:
parent
fd88ee2b73
commit
0d4dcb2ad0
@ -6,19 +6,12 @@ use App\Models\Invoice;
|
||||
use App\Ninja\Repositories\InvoiceRepository;
|
||||
use Response;
|
||||
|
||||
class QuoteApiController extends InvoiceAPIController
|
||||
class QuoteApiController extends InvoiceApiController
|
||||
{
|
||||
protected $invoiceRepo;
|
||||
|
||||
protected $entityType = ENTITY_INVOICE;
|
||||
|
||||
public function __construct(InvoiceRepository $invoiceRepo)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->invoiceRepo = $invoiceRepo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @SWG\Get(
|
||||
* path="/quotes",
|
||||
|
Loading…
Reference in New Issue
Block a user