Fix pack selector

This commit is contained in:
Dane Everitt 2016-11-27 14:57:23 -05:00
parent c4a4b84bd3
commit 75de060a55
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 3 additions and 3 deletions

View file

@ -276,7 +276,7 @@ class ServersController extends Controller
->first();
return response()->json([
'packs' => Models\ServicePack::select('uuid', 'name', 'version')->where('option', $request->input('option'))->where('selectable', true)->get(),
'packs' => Models\ServicePack::select('id', 'name', 'version')->where('option', $request->input('option'))->where('selectable', true)->get(),
'variables' => Models\ServiceVariables::where('option_id', $request->input('option'))->get(),
'exec' => $option->executable,
'startup' => $option->startup