diff --git a/src/JsonApiTransformer.php b/src/JsonApiTransformer.php index 9a4fb8c..475f105 100644 --- a/src/JsonApiTransformer.php +++ b/src/JsonApiTransformer.php @@ -236,6 +236,7 @@ protected function serializedArray(array $value) $this->setResponseLinks($value, $data); $this->setResponseMeta($data); $this->setResponseVersion($data); + $this->setResponseMeta($data); return (empty($data['data'])) ? array_merge(['data' => []], $data) : $data; }