parent
99f4f3b3d8
commit
2ea18ae1c6
374
composer.lock
generated
374
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,7 @@ class InstallerController extends Controller
|
|||||||
* @param UserService $userService
|
* @param UserService $userService
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
AirlineService $airlineRepo,
|
AirlineService $airlineSvc,
|
||||||
AnalyticsService $analyticsSvc,
|
AnalyticsService $analyticsSvc,
|
||||||
DatabaseService $dbService,
|
DatabaseService $dbService,
|
||||||
ConfigService $envService,
|
ConfigService $envService,
|
||||||
@ -54,7 +54,7 @@ class InstallerController extends Controller
|
|||||||
SeederService $seederSvc,
|
SeederService $seederSvc,
|
||||||
UserService $userService
|
UserService $userService
|
||||||
) {
|
) {
|
||||||
$this->airlineRepo = $airlineRepo;
|
$this->airlineSvc = $airlineSvc;
|
||||||
$this->analyticsSvc = $analyticsSvc;
|
$this->analyticsSvc = $analyticsSvc;
|
||||||
$this->dbSvc = $dbService;
|
$this->dbSvc = $dbService;
|
||||||
$this->envSvc = $envService;
|
$this->envSvc = $envService;
|
||||||
@ -310,7 +310,7 @@ class InstallerController extends Controller
|
|||||||
'country' => $request->get('airline_country'),
|
'country' => $request->get('airline_country'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$airline = $this->airlineSvc->create($attrs);
|
$airline = $this->airlineSvc->createAirline($attrs);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the user, and associate to the airline
|
* Create the user, and associate to the airline
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const opts = {
|
const opts = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/importer/dbtest',
|
url: '/install/dbtest',
|
||||||
data: {
|
data: {
|
||||||
_token: "{{ csrf_token() }}",
|
_token: "{{ csrf_token() }}",
|
||||||
db_conn: 'mysql',
|
db_conn: 'mysql',
|
||||||
|
Loading…
Reference in New Issue
Block a user