mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-09 18:03:44 +02:00
Return packs associated with a service when viewing it on the API.
This commit is contained in:
@@ -55,6 +55,7 @@ class ServiceController extends BaseController
|
||||
'options' => Models\ServiceOptions::select('id', 'name', 'description', 'tag', 'docker_image')
|
||||
->where('parent_service', $service->id)
|
||||
->with('variables')
|
||||
->with('packs')
|
||||
->get(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user