diff --git a/app/Transformers/InvoiceHistoryTransformer.php b/app/Transformers/InvoiceHistoryTransformer.php index 76aefc1d028c..d9f2fa019804 100644 --- a/app/Transformers/InvoiceHistoryTransformer.php +++ b/app/Transformers/InvoiceHistoryTransformer.php @@ -44,6 +44,6 @@ class InvoiceHistoryTransformer extends EntityTransformer { $transformer = new ActivityTransformer($this->serializer); - return $this->includeCollection($backup->activity, $transformer, Activity::class); + return $this->includeItem($backup->activity, $transformer, Activity::class); } }