@@ -79,16 +79,16 @@ |
||
| 79 | 79 | 'name' => $data['name'], |
| 80 | 80 | 'email' => $data['email'], |
| 81 | 81 | 'is_active' => 1, |
| 82 | - 'is_tenant' => 1, |
|
| 83 | - 'status' => 1 |
|
| 82 | + 'is_tenant' => 1, |
|
| 83 | + 'status' => 1 |
|
| 84 | 84 | ]); |
| 85 | 85 | |
| 86 | - $company->attachPerson($person->id); |
|
| 86 | + $company->attachPerson($person->id); |
|
| 87 | 87 | |
| 88 | - // Dispatch Tenancy Jobs |
|
| 88 | + // Dispatch Tenancy Jobs |
|
| 89 | 89 | |
| 90 | - CreateDatabase::dispatch($company); |
|
| 91 | - Migrate::dispatch($company); |
|
| 90 | + CreateDatabase::dispatch($company); |
|
| 91 | + Migrate::dispatch($company); |
|
| 92 | 92 | |
| 93 | 93 | return $user; |
| 94 | 94 | }catch(\Exception $e){ |