mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
refactoring documentAPI
This commit is contained in:
parent
1617be2485
commit
8ff41dfc7e
@ -23,7 +23,7 @@ class DocumentAPIController extends BaseAPIController
|
||||
{
|
||||
$documents = Document::scope()->get();
|
||||
|
||||
return $this->itemResponse($document);
|
||||
return $this->itemResponse($documents);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user