From 3dc5da56147c5a99378662b5544d5238000d4123 Mon Sep 17 00:00:00 2001 From: saber13812002 Date: Wed, 22 Dec 2021 12:09:05 +0330 Subject: [PATCH] fix: return coupon id --- app/Http/Resources/CouponResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Resources/CouponResource.php b/app/Http/Resources/CouponResource.php index 54dc34a3..68c7726b 100644 --- a/app/Http/Resources/CouponResource.php +++ b/app/Http/Resources/CouponResource.php @@ -28,7 +28,7 @@ public function getArray($resource) } return [ -// "id" => (integer)$resource->id, + "id" => (integer)$resource->id, // "coupon_name" => $resource->coupon_name, // "model_name" => $resource->model_name, // "model_id" => $resource->model_id,