mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 08:14:10 +00:00
Return applications & databases in service API.
This commit is contained in:
1 parent
10b9c4bcfa
commit
dfb6d4da3d
1 file changed
+2
@@ -413,6 +413,8 @@ class ServicesController extends Controller
|
||||
return response()->json(['message' => 'Service not found.'], 404);
|
||||
}
|
||||
|
||||
$service = $service->load(['applications', 'databases']);
|
||||
|
||||
return response()->json($this->removeSensitiveData($service));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user