mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-09-01 10:54:31 +00:00
fix order resource loop
This commit is contained in:
@@ -25,7 +25,6 @@ class AddressResource extends JsonResource
|
||||
'post_code' => $this->postcode,
|
||||
'country' => $this->country,
|
||||
'default' => (int) $this->default,
|
||||
'owner' => $this->when($this->owner instanceof Order, new OrderResource($this->whenLoaded('owner')))
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user