mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Streamline Hosted Migration
This commit is contained in:
parent
0743b003ab
commit
50a0532bf4
@ -47,7 +47,7 @@ class HostedMigration extends Job
|
|||||||
//build the contents to be posted
|
//build the contents to be posted
|
||||||
|
|
||||||
$completeService = (new CompleteService($this->migration_token));
|
$completeService = (new CompleteService($this->migration_token));
|
||||||
|
|
||||||
$migrationData = $this->generateMigrationData($data);
|
$migrationData = $this->generateMigrationData($data);
|
||||||
|
|
||||||
$completeService->data($migrationData)
|
$completeService->data($migrationData)
|
||||||
@ -67,7 +67,12 @@ class HostedMigration extends Job
|
|||||||
];
|
];
|
||||||
|
|
||||||
$body = [
|
$body = [
|
||||||
|
'first_name' => $this->user->first_name,
|
||||||
|
'last_name' => $this->user->last_name,
|
||||||
'email' => $this->user->email,
|
'email' => $this->user->email,
|
||||||
|
'privacy_policy' => true,
|
||||||
|
'terms_of_service' => true,
|
||||||
|
'password' => '',
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = Request::post($url, $headers, $body);
|
$response = Request::post($url, $headers, $body);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user