update invoice profile

This commit is contained in:
Peter Papp
2021-04-28 08:34:37 +02:00
parent bcf14595bf
commit 1e4bbd10f3
7 changed files with 123 additions and 30 deletions

View File

@@ -12,10 +12,12 @@ class InvoiceProfileCollection extends ResourceCollection
* Transform the resource collection into an array.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Support\Collection
* @return array
*/
public function toArray($request)
{
return $this->collection;
return [
'data' => $this->collection,
];
}
}