feat(tenant): separate admin and storefront website types
This commit is contained in:
@@ -12,7 +12,7 @@ class IntegrationAssociationResource extends JsonResource
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'client_id' => $this->when(isset($this->client_id), $this->client_id),
|
||||
'website_type_code' => $this->when(isset($this->website_type_code), $this->website_type_code),
|
||||
'admin_website_type_code' => $this->when(isset($this->admin_website_type_code), $this->admin_website_type_code),
|
||||
'integration_code' => $this->integration_code,
|
||||
'integration_instance_id' => $this->integration_instance_id,
|
||||
'integration_instance' => new IntegrationInstanceResource($this->whenLoaded('integrationInstance')),
|
||||
|
||||
Reference in New Issue
Block a user