diff --git a/app/Http/Resources/CompanyResource.php b/app/Http/Resources/CompanyResource.php index 211b131e..309356ed 100644 --- a/app/Http/Resources/CompanyResource.php +++ b/app/Http/Resources/CompanyResource.php @@ -22,6 +22,7 @@ class CompanyResource extends JsonResource 'id' => $this->id, 'account_no' => $this->reference_no, 'marking' => CompanyConnections::where('module_one', $this->modules->first()->id)->first()->marking, + 'email' => $this->employees->first()->email, 'name' => $this->name, 'type' => $this->type, 'status' => (int) $this->status,