fleet add pilot

This commit is contained in:
2018-11-13 21:53:13 -06:00
parent 2af033b18a
commit dfbfa450a3

View File

@@ -97,7 +97,6 @@ class FleetsController extends Controller
public function addPilot($fleetId, $charId) {
//Retrieve the fleet data
$fleet = DB::table('Fleets')->where('fleet', $fleetId)->get();
dd($fleet);
//Add a pilot to the fleet
$error = $fleet->AddPilot($fleet[0]->character_id, $charId);