This pull request addresses a bug in the /books endpoint where an undefined variable was being returned instead of the expected list of books. The issue was due to a typo in the variable name used in the response.
Summary
Fixed an issue in app.js where the wrong variable name was used in the /books endpoint. Changed res.json(book); to res.json(books); to correctly return the list of books.
Fixes #56.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback: 👍
Description
This pull request addresses a bug in the
/books
endpoint where an undefined variable was being returned instead of the expected list of books. The issue was due to a typo in the variable name used in the response.Summary
app.js
where the wrong variable name was used in the/books
endpoint. Changedres.json(book);
tores.json(books);
to correctly return the list of books.Fixes #56.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.