From 745bb40af38899305dfcbf633016feff1dea1ef6 Mon Sep 17 00:00:00 2001 From: Liteztv <102834579+Liteztv@users.noreply.github.com> Date: Mon, 20 Nov 2023 15:57:32 -0700 Subject: [PATCH 1/7] Update server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 0dcde7476..da4d5bde0 100644 --- a/server.js +++ b/server.js @@ -7,7 +7,7 @@ const { CloudantV1 } = require('@ibm-cloud/cloudant'); const { BasicAuthenticator } = require('ibm-cloud-sdk-core'); const uuid = require('uuid'); -// parse application/x-www-form-urlencoded +// parse application/x-www-form-urlencoded app.use(bodyParser.urlencoded({ extended: false })) // parse application/json From b27649f51ea5cb2acc202dff337d3a6d50541140 Mon Sep 17 00:00:00 2001 From: Liteztv <102834579+Liteztv@users.noreply.github.com> Date: Tue, 21 Nov 2023 16:30:24 -0700 Subject: [PATCH 2/7] Update server.js --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index da4d5bde0..ca848f391 100644 --- a/server.js +++ b/server.js @@ -10,7 +10,7 @@ const uuid = require('uuid'); // parse application/x-www-form-urlencoded app.use(bodyParser.urlencoded({ extended: false })) -// parse application/json +// parse application/json app.use(bodyParser.json()) let NLU_APIKEY, NLU_URL, CLOUDANT_URL, CLOUDANT_API; From dbf6dc609ff473d77cf8c728caa27e4ec271b85d Mon Sep 17 00:00:00 2001 From: Liteztv <102834579+Liteztv@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:30:03 -0700 Subject: [PATCH 3/7] Update reviews.ejs changed title --- views/reviews.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 9235af091..056f04aca 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -1,7 +1,7 @@
- <%- include('head', {title: 'Movie Database - Reviews'}); %> + <%- include('head', {title: 'Movie Database v2.0'}); %> From 6c14bf75d625a65a49408132422d7229c05180f1 Mon Sep 17 00:00:00 2001 From: Liteztv <102834579+Liteztv@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:30:54 -0700 Subject: [PATCH 4/7] Update index.ejs changed title --- views/index.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.ejs b/views/index.ejs index 458038fe1..ee53b2cc7 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,7 +1,7 @@ - <%- include('head', {title: 'Movie Database - Index'}); %> + <%- include('head', {title: 'Movie Database v2.0'}); %> From 5487d4a174446ce751323f84297d5b6e0b6961c9 Mon Sep 17 00:00:00 2001 From: Liteztv <102834579+Liteztv@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:32:06 -0700 Subject: [PATCH 5/7] Update reviews.ejs changed notification color for negative reviews --- views/reviews.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/reviews.ejs b/views/reviews.ejs index 056f04aca..b147eabfc 100644 --- a/views/reviews.ejs +++ b/views/reviews.ejs @@ -27,7 +27,7 @@ <% if(review.doc.sentiment === 'positive') {%>