Extra Query Removed
This commit is contained in:
parent
35a1663c0f
commit
2b5bf16fff
|
|
@ -71,7 +71,7 @@ class ReviewController extends Controller
|
|||
|
||||
return response()->json([
|
||||
'message' => 'Your review submitted successfully.',
|
||||
'data' => new ProductReviewResource($this->reviewRepository->find($productReview->id)),
|
||||
'data' => new ProductReviewResource($productReview),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue