adding label column to getUserDeviceByAsset api
This commit is contained in:
@@ -1775,7 +1775,7 @@ class TelemetryController extends Controller
|
||||
->get()
|
||||
->pluck('asset.devices')
|
||||
->flatten()
|
||||
->select('id','name');
|
||||
->select('id','name','label');
|
||||
|
||||
return response()->json($userDevices);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user