update os
This commit is contained in:
@@ -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