updated returnAsResource parameters

This commit is contained in:
2023-03-29 15:46:06 +10:00
parent 06c9d48126
commit c96b3d8349
7 changed files with 23 additions and 31 deletions

View File

@@ -34,8 +34,8 @@ class SubscriptionController extends ApiController
return $this->respondAsResource(
$collection,
true,
['total' => $total]
['isCollection' => true,
'appendData' => ['total' => $total]]
);
}