DEV Community

loading...

Discussion on: 💻 Build a CRUD Express API In ⌚ five minutes!

Collapse
harrymckillen profile image
Harry McKillen

Hey Brandon, one small fix
exports.deleteOneRequest is missing the async in the above snippet, so if you run it, you get a syntax error with regards to the await below it.
HTH

Collapse
brandonkylebailey profile image
Brandon Author

Hey Harry! Thanks for commenting. I appreciate the keen eye and I've updated the code snippet ! 😄