diff --git a/app/Endpoint/Api/Http/Resources/ShippingAddressResource.php b/app/Endpoint/Api/Http/Resources/ShippingAddressResource.php index 14a6f3c9..c0bf76d0 100644 --- a/app/Endpoint/Api/Http/Resources/ShippingAddressResource.php +++ b/app/Endpoint/Api/Http/Resources/ShippingAddressResource.php @@ -17,7 +17,7 @@ class ShippingAddressResource extends JsonResource return [ 'id' => $this->id, 'zone_id' => $this->zone_id, - 'name' => $this->name, + 'consignee' => $this->consignee, 'telephone' => $this->telephone, 'zone' => $this->zone, 'address' => $this->address,