DEV Community

Discussion on: Simple REST API with Deno

Collapse
teraaret profile image
teraaret

There is error in getBook method:

response.body = books[0]

must be:

response.body = book