fleets
This commit is contained in:
@@ -74,6 +74,7 @@ class FleetsController extends Controller
|
|||||||
|
|
||||||
public function addPilot($id) {
|
public function addPilot($id) {
|
||||||
//Retrieve the fleet from the session
|
//Retrieve the fleet from the session
|
||||||
|
dd(session());
|
||||||
$fleet = session('fleet');
|
$fleet = session('fleet');
|
||||||
dd($fleet);
|
dd($fleet);
|
||||||
//Add a pilot to the fleet
|
//Add a pilot to the fleet
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class Fleet {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function AddPilot($charId) {
|
public function AddPilot($charId, $fleetId) {
|
||||||
//Get the ESI token for the FC to add the new pilot
|
//Get the ESI token for the FC to add the new pilot
|
||||||
$token = DB::table('EsiTokens')->where('character_id', $this->fcId)->first();
|
$token = DB::table('EsiTokens')->where('character_id', $this->fcId)->first();
|
||||||
//Create the ESI Call Container
|
//Create the ESI Call Container
|
||||||
|
|||||||
Reference in New Issue
Block a user