mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 12:33:06 +00:00
Merge pull request #3011 from stooit/feat/enhance-services-api
Return applications & databases in service API.
This commit is contained in:
@@ -413,6 +413,8 @@ class ServicesController extends Controller
|
|||||||
return response()->json(['message' => 'Service not found.'], 404);
|
return response()->json(['message' => 'Service not found.'], 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$service = $service->load(['applications', 'databases']);
|
||||||
|
|
||||||
return response()->json($this->removeSensitiveData($service));
|
return response()->json($this->removeSensitiveData($service));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user