Extra Query Removed

This commit is contained in:
devansh bawari 2020-10-05 18:32:03 +05:30
parent 35a1663c0f
commit 2b5bf16fff
1 changed files with 1 additions and 1 deletions

View File

@ -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),
]);
}
}