made sure parameters included uuid

This commit is contained in:
Pau 2025-05-01 14:55:58 +02:00
parent 914b5b3bec
commit c2348fc678
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ const postUserHasPlacesController = (req, res, next, config) => {
const putUserHasPlacesController = (req, res, next, config) => { const putUserHasPlacesController = (req, res, next, config) => {
const conn = mysql.start(config) const conn = mysql.start(config)
modifyUserHasPlacesModel({...req.body, conn}) modifyUserHasPlacesModel({...req.body, ...req.params, conn})
.then((response) => { .then((response) => {
const result = { const result = {
_data: { _data: {