Issues in Day5 Project folder
-
At const { elementId } = req.params // getting null
- Solution: REPLACE
elementId in place of userId and productId in route directory files.
-
In crudFactory.js at elementDetails == "not found" // This condition can't be true
- Solution:
elementDetails == null.
Issues in Day5 Project folder
At
const { elementId } = req.params// getting nullelementIdin place ofuserIdandproductIdin route directory files.In
crudFactory.jsatelementDetails == "not found"// This condition can't be trueelementDetails == null.