DEV Community

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

Collapse
 
ericchapman profile image
Eric The Coder

Great post. One question: In the updateOneRequest function where the {slug} came from?

Collapse
 
brandonkylebailey profile image
Brandon

Hey Rick, Nice catch! that was an oversite on my part! it should read : {_id:id} not {slug}! my apologies!

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