Skip to content

Commit

Permalink
Merge branch 'uat'
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Nov 10, 2024
2 parents 8033978 + 7d2a202 commit e5b6441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"mysql2": "^3.6.2",
"path": "^0.12.7",
"pg": "^8.7.3",
"puppeteer": "^22.1.0",
"puppeteer-core": "^22.1.0",
"puppeteer": "^23.3.1",
"puppeteer-core": "^23.4.0",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sharp": "^0.33.4",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/tours.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ const listWrapper = async (req, res) => {
searchparam = search.replace(/'/g, "''").toLowerCase();

if (!!sql_count && sql_count > 1) {
knex.raw(`INSERT INTO logsearchphrase(phrase, num_results, city_slug, menu_lang, country_code) VALUES('${searchparam}', ${sql_count}, '${req.query.city}', '${currLanguage}', '${get_domain_country(domain)}');`)
await knex.raw(`INSERT INTO logsearchphrase(phrase, num_results, city_slug, menu_lang, country_code) VALUES('${searchparam}', ${sql_count}, '${req.query.city}', '${currLanguage}', '${get_domain_country(domain)}');`)
}
}
} catch (e) {
Expand Down

0 comments on commit e5b6441

Please sign in to comment.