mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Removed commented code
This commit is contained in:
parent
297820d347
commit
b2d958724b
|
@ -1246,9 +1246,7 @@ class UsersController extends Controller
|
||||||
*/
|
*/
|
||||||
public function getAssetList($userId)
|
public function getAssetList($userId)
|
||||||
{
|
{
|
||||||
$assets = Asset::where('assigned_to', '=', $userId)->get();
|
$assets = Asset::where('assigned_to', '=', $userId)->with('model')->get();
|
||||||
return response()->json($assets);
|
return response()->json($assets);
|
||||||
//$foo = Asset::where('assigned_to','=',$userId)->get();
|
|
||||||
//print_r($foo);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue