Skip to content

Commit

Permalink
Update getBook.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RamSterB committed Jun 19, 2024
1 parent 24824ed commit 6d2279a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/getBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const getBook = async (req, res) => {
`SELECT idcategoryFather, sub.subcategoryname
FROM BOOK_IN_SUBCATEGORY insub INNER JOIN SUBCATEGORY sub
ON insub.idsubcategory = sub.id
WHERE idbook = $1"`,
WHERE idbook = $1`,
[idBook]
);
let subcategoriesIds;
Expand Down

0 comments on commit 6d2279a

Please sign in to comment.