Skip to content

Commit

Permalink
"two"
Browse files Browse the repository at this point in the history
  • Loading branch information
TxxyZ137 committed Dec 8, 2023
1 parent 12469cd commit 326cf90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions backend/movieapp-config.ini
Original file line number Diff line number Diff line change
@@ -1,20 +0,0 @@
[s3]
bucket_name = movieapp-nu-cs310

[rds]
endpoint = mysql-movieapp-nu-cs310.cmer9gqilfw8.us-east-2.rds.amazonaws.com
port_number = 3306
region_name = us-east-2
user_name = admin
user_pwd = mysql-movieapp-nu-cs310
db_name = movieReviewApp

[s3readonly]
region_name = us-east-2
aws_access_key_id = AKIAZTAVSYSDHFGCYZAB
aws_secret_access_key = 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

[s3readwrite]
region_name = us-east-2
aws_access_key_id = AKIAZTAVSYSDKL345E6C
aws_secret_access_key = 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
2 changes: 1 addition & 1 deletion backend/search_film.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports.search_film = async (req, res) => {
const params = [];

if (name) {
conditions.push("Title LIKE ?");
conditions.push("Title LIKE '%?%' ");
params.push(`%${name}%`);
}

Expand Down

0 comments on commit 326cf90

Please sign in to comment.