Skip to content

Commit

Permalink
[TM-838] Include the ppc_external_id on project/site resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed May 15, 2024
1 parent 7974363 commit 47a4ada
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Resources/V2/Projects/ProjectLiteResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public function toArray($request)
{
$data = [
'uuid' => $this->uuid,
'ppc_external_id' => $this->ppc_external_id,
'framework_key' => $this->framework_key,
'framework_uuid' => $this->framework_uuid,
'status' => $this->status,
Expand Down
1 change: 1 addition & 0 deletions app/Http/Resources/V2/Projects/ProjectResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public function toArray($request)
{
$data = [
'uuid' => $this->uuid,
'ppc_external_id' => $this->ppc_external_id,
'name' => $this->name,
'status' => $this->status,
'readable_status' => $this->readable_status,
Expand Down
1 change: 1 addition & 0 deletions app/Http/Resources/V2/Sites/SiteLiteResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public function toArray($request)
{
$data = [
'uuid' => $this->uuid,
'ppc_external_id' => $this->ppc_external_id,
'name' => $this->name,
'project' => new ProjectLiteResource($this->project),
'framework_key' => $this->framework_key,
Expand Down
1 change: 1 addition & 0 deletions app/Http/Resources/V2/Sites/SiteResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function toArray($request)
{
$data = [
'uuid' => $this->uuid,
'ppc_external_id' => $this->ppc_external_id,
'name' => $this->name,
'framework_key' => $this->framework_key,
'framework_uuid' => $this->framework_uuid,
Expand Down

0 comments on commit 47a4ada

Please sign in to comment.