- corretto il titolo che lo prendo dall'estrazione del sito... JSON.

This commit is contained in:
Surya Paolo
2025-06-23 20:48:11 +02:00
parent 8c0619992b
commit 8d4158c2c6
3 changed files with 13 additions and 1 deletions

View File

@@ -1155,6 +1155,7 @@ router.post('/import', authenticate, async (req, res) => {
if (recmacro.ean && recmacro.ean['#text']) {
recmacro._id = recmacro.ean['#text'];
recmacro.code = recmacro._id;
recmacro.title = getvalueByJsonText(recmacro.titolo);
let queryprod = { idapp, code: recmacro._id };