Skip to content

Commit

Permalink
No update?
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Dec 13, 2024
1 parent 08f9fdf commit 8e68973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/gpx/gpxUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const setTourImageURL = async (tour_id, image_url) => {

try {
await knex.raw(`UPDATE tour SET image_url='${image_url}' WHERE id=${tour_id} AND image_url IS NULL;`)
// console.log(`UPDATE tour SET image_url='${image_url}' WHERE id=${tour_id} AND image_url IS NULL;`)
console.log(`UPDATE tour SET image_url='${image_url}' WHERE id=${tour_id} AND image_url IS NULL;`)
}
catch(e) {
console.error(`Error in setTourImageURL with tour_id=${tour_id}: `, e)
Expand Down

0 comments on commit 8e68973

Please sign in to comment.