adding label column to getUserDeviceByAsset api

This commit is contained in:
2025-07-29 12:27:02 +05:30
parent 9e9412190b
commit 2e40b31a6c

View File

@@ -1775,7 +1775,7 @@ class TelemetryController extends Controller
->get()
->pluck('asset.devices')
->flatten()
->select('id','name');
->select('id','name','label');
return response()->json($userDevices);
}