Skip to content

Commit

Permalink
Add validation in creating review.
Browse files Browse the repository at this point in the history
  • Loading branch information
HranikBs23 committed Feb 26, 2022
1 parent 1a6b77b commit 40c07fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/review/review.controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const ProductReview = require(path.join(process.cwd(), "src/modules/review/product-review.model"));
const ShopReview = require(path.join(process.cwd(), "src/modules/review/shop-review.model"));
const Product = require(path.join(process.cwd(), "src/modules/product/product.model"));
const Shop = require(path.join(process.cwd(), "src/modules/shop/shop.model"));

async function getProductReview(req, res) {
try {
Expand Down

0 comments on commit 40c07fc

Please sign in to comment.