mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:44:29 -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
|
||||
|
||||
$completeService = (new CompleteService($this->migration_token));
|
||||
|
||||
|
||||
$migrationData = $this->generateMigrationData($data);
|
||||
|
||||
$completeService->data($migrationData)
|
||||
@ -67,7 +67,12 @@ class HostedMigration extends Job
|
||||
];
|
||||
|
||||
$body = [
|
||||
'first_name' => $this->user->first_name,
|
||||
'last_name' => $this->user->last_name,
|
||||
'email' => $this->user->email,
|
||||
'privacy_policy' => true,
|
||||
'terms_of_service' => true,
|
||||
'password' => '',
|
||||
];
|
||||
|
||||
$response = Request::post($url, $headers, $body);
|
||||
|
Loading…
x
Reference in New Issue
Block a user