Skip to content

Conversation

michielvanhoutte
Copy link

fix "requesting order with id 2 returns undefined"

in the original code, when xhr2.open("GET", "http://localhost:3000/orders/2")
=> "description" is a map with 4 items [,,"Billed",]
=> so first item description[0] in map is "undefined"

fix requesting order with id 2 returns undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant