update os
This commit is contained in:
@@ -14,6 +14,7 @@ use App\Http\Services\vCenter as ServiceVCenter;
|
||||
use App\Repositories\Os\OsRepositoryInterface;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Yajra\DataTables\Facades\DataTables;
|
||||
|
||||
|
||||
@@ -241,9 +241,9 @@ class ModuleController extends Controller
|
||||
[
|
||||
'module_host_id' => $host_id
|
||||
],
|
||||
['host'], // Include host relationship
|
||||
[],
|
||||
[],
|
||||
['id', 'name']
|
||||
['id', 'name', 'module_host_id'] // Add module_host_id to select
|
||||
);
|
||||
if (count($groups) > 0) {
|
||||
return response()->json(['error' => false, 'data' => $groups]);
|
||||
|
||||
Reference in New Issue
Block a user