fleet add pilot
This commit is contained in:
@@ -97,7 +97,6 @@ class FleetsController extends Controller
|
|||||||
public function addPilot($fleetId, $charId) {
|
public function addPilot($fleetId, $charId) {
|
||||||
//Retrieve the fleet data
|
//Retrieve the fleet data
|
||||||
$fleet = DB::table('Fleets')->where('fleet', $fleetId)->get();
|
$fleet = DB::table('Fleets')->where('fleet', $fleetId)->get();
|
||||||
dd($fleet);
|
|
||||||
//Add a pilot to the fleet
|
//Add a pilot to the fleet
|
||||||
$error = $fleet->AddPilot($fleet[0]->character_id, $charId);
|
$error = $fleet->AddPilot($fleet[0]->character_id, $charId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user