mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
Removed duplicate line
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
727806372c
commit
cd98b3817d
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue