small query fix

This commit is contained in:
Pau 2025-05-30 17:27:01 +02:00
parent 4e7c892019
commit 180a7b142f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ const insertUserHasPlacesModel = ({conn, ...params}) => {
const modifyUserHasPlacesModel = ({conn, ...params}) => {
const now = dayjs.utc().format('YYYY-MM-DD HH:mm:ss')
return mysql
.execute(modifyUserHasPlacesQuery({...params, mow}), conn, {...params, now})
.execute(modifyUserHasPlacesQuery({...params, now}), conn, {...params, now})
.then(queryResult => {
const deletedItem = queryResult[1].find(item => item.deleted !== null);