commit before changing for new version

This commit is contained in:
2025-12-23 17:22:33 -06:00
parent 193beb4d03
commit d1e9cab3a6
3 changed files with 68 additions and 5 deletions

View File

@@ -81,10 +81,10 @@ const initializeAgenda = async (mongoUri, pool, io) => { // Now accepts pgPool
return rest;
});
const posWithoutNumber = changedPosList.map(pos => {
const { periphNum, ...rest } = pos;
return rest;
});
// const posWithoutNumber = changedPosList.map(pos => {
// const { periphNum, ...rest } = pos;
// return rest;
// });
for (const pos of changedPosList) {
const result = await sharedPgPool.query("update peripherals set last_pos=$1, last_set=$2 where id=$3 and user_id=$4",