This pull request addresses a syntax error in the instantiation of a new `Book` object within the `POST /books` route. The incorrect use of curly braces `{}` when passing parameters to the `Book` constructor has been corrected to use parentheses `()`.
# Summary
- Corrected the syntax for creating a new `Book` instance in `app.js`.
- Ensured that the `Book` object is properly instantiated with the provided `title`, `author`, `year`, `category`, and `cover` from the request body.
Fixes #31.
🎉 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
Fixes #31.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.