From 79452f85f23d8383dcf87d169e2fd2ba656fe2a5 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 10 Mar 2022 13:53:58 +0500 Subject: [PATCH] category default limit --- .../Sarga/API/Http/Resources/Customer/OrderItemResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Resources/Customer/OrderItemResource.php b/packages/Sarga/API/Http/Resources/Customer/OrderItemResource.php index 3f6fbcd30..cff3f17c0 100644 --- a/packages/Sarga/API/Http/Resources/Customer/OrderItemResource.php +++ b/packages/Sarga/API/Http/Resources/Customer/OrderItemResource.php @@ -23,7 +23,7 @@ class OrderItemResource extends JsonResource 'product' => $this->when($this->product_id, new CartItemProduct($this->product)), 'coupon_code' => $this->coupon_code, 'weight' => (double) $this->weight, - 'total_weight' => $this->total_weight, + 'total_weight' => (double) $this->total_weight, 'qty_ordered' => (int) $this->qty_ordered, 'qty_canceled' => (int) $this->qty_canceled, 'qty_invoiced' => (int) $this->qty_invoiced,