This commit is contained in:
2018-11-13 00:25:30 -06:00
parent 90374aa392
commit 382aade453
2 changed files with 2 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ class FleetsController extends Controller
public function addPilot($id) {
//Retrieve the fleet from the session
dd(session());
$fleet = session('fleet');
dd($fleet);
//Add a pilot to the fleet

View File

@@ -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
$token = DB::table('EsiTokens')->where('character_id', $this->fcId)->first();
//Create the ESI Call Container