fullstack-hy2020 / fullstack-hy2020.github.io

https://fullstack-hy2020.github.io
Other
1.54k stars 3.89k forks source link

Fix code snippet in part3a.md so delete request example works as intended #3695

Closed zachleach closed 3 months ago

zachleach commented 3 months ago

The 'deleting resources' section has a code snippet which compares a string to an integer (e.g., node.id !== id) that causes the example to not work as intended. Therefore, change the definition of the id variable to be an integer so the comparison and code works as intended.