DEV Community

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

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

Some comments have been hidden by the post's author - find out more