update os

This commit is contained in:
pbao9
2026-02-02 10:17:51 +07:00
parent 34575b2d96
commit d3b264262b
4 changed files with 45 additions and 10 deletions
@@ -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]);