diff --git a/index.js b/index.js index 23c9b8b333..8b6dfdd80e 100644 --- a/index.js +++ b/index.js @@ -78,7 +78,7 @@ app = express() .query( `INSERT INTO public.books( "bookName", "bookAuthor", "bookYear", "bookPrice", "bookID") - VALUES ($1, $2, $3, $4, $5); RETURNING bookID`, + VALUES ($1, $2, $3, $4, $5) RETURNING bookID;`, ['some name', 'no name', 2016, 65.09, uuidv4()] ) .then(res => {