ghulamabbas2/shopit

when the user send two reviews

mohamad-alibrahim opened this issue · 1 comments

PUT:{{DOMIN}}/api/v1/review

{
"success": false,
"error": {
"statusCode": 500
},
"errMessage": "Cannot read property 'toString' of undefined",
"stack": "TypeError: Cannot read property 'toString' of undefined\n at C:\SHOPIT\backend\controllers\productController.js:132:21\n at CoreDocumentArray.find ()\n at C:\SHOPIT\backend\controllers\productController.js:131:40\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"
}

@mohamad-alibrahim check productController.js in backend