Skip to content

Commit

Permalink
#259 [Backend] change spec borrow_book and book
Browse files Browse the repository at this point in the history
  • Loading branch information
fdhhhdjd committed Apr 17, 2023
1 parent d057b1a commit 32638af
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ const bookController = {

// Check input
if (
!name ||
!author_id ||
!image_uri ||
!description ||
!bookshelf ||
!language ||
!quantity ||
!public_id_image ||
!page_number
!name
|| !author_id
|| !image_uri
|| !description
|| !bookshelf
|| !language
|| !quantity
|| !public_id_image
|| !page_number
) {
return res.status(CONSTANTS.HTTP.STATUS_4XX_BAD_REQUEST).json({
status: CONSTANTS.HTTP.STATUS_4XX_BAD_REQUEST,
Expand Down

0 comments on commit 32638af

Please sign in to comment.