diff --git a/app/Library/Fleet.php b/app/Library/Fleet.php index e9f7050a3..015c65bf9 100644 --- a/app/Library/Fleet.php +++ b/app/Library/Fleet.php @@ -103,7 +103,7 @@ class Fleet { //Perform the call to ESI $error = $esi->invoke('post', '/fleets/{fleet_id}/members/', [ 'fleet_id' => $this->fleet, - 'invitation' => [ + 'body' => [ 'character_id' => $charId, 'role' => 'squad_member', ],