You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is flawed because the id is a string, but the id from the notes is a number. Thus, the code snippets have to be changed to explicitly make this cast of the parameter id: const id = Number(request.params.id)
The text was updated successfully, but these errors were encountered:
In the course, during the part 3, section (a), "Fetching a single resource" - the routes that describe getting and deleting resources of notes
This is flawed because the id is a string, but the id from the notes is a number. Thus, the code snippets have to be changed to explicitly make this cast of the parameter id:
const id = Number(request.params.id)
The text was updated successfully, but these errors were encountered: