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.