Return applications & databases in service API.

This commit is contained in:
Stuart Rowlands
2024-08-07 17:20:55 +10:00
parent 10b9c4bcfa
commit dfb6d4da3d

View File

@@ -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));
}