Removed duplicate line

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-09-19 18:26:08 +01:00
parent 727806372c
commit cd98b3817d

View file

@ -59,8 +59,6 @@ class DepreciationsController extends Controller
}
$total = $depreciations->count();
$components = $depreciations->skip($offset)->take($limit)->get();
$depreciations = $depreciations->skip($offset)->take($limit)->get();
return (new DepreciationsTransformer)->transformDepreciations($depreciations, $total);