From 50a0532bf4ccdce9a402a13d7cd3bf291f5d5d06 Mon Sep 17 00:00:00 2001 From: = Date: Sat, 17 Jul 2021 15:59:08 +1000 Subject: [PATCH] Streamline Hosted Migration --- app/Jobs/HostedMigration.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Jobs/HostedMigration.php b/app/Jobs/HostedMigration.php index eed4521a3177..3f14567966a9 100644 --- a/app/Jobs/HostedMigration.php +++ b/app/Jobs/HostedMigration.php @@ -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);