From a7fb2c22f040268cafcec34ad50a60cbda542695 Mon Sep 17 00:00:00 2001 From: Gabriele Cimaschi Date: Mon, 13 Jul 2026 21:26:40 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20probelma=20con=20caricamento=20allegati?= =?UTF-8?q?=20nelle=20note.=20Il=20problema=20non=20era=20mai=20stato=20ri?= =?UTF-8?q?solto=20da=20quando=20si=20=C3=A8=20passati=20alle=20apiotrs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/tickets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/tickets.js b/routes/tickets.js index 0e768bd..668bb9b 100644 --- a/routes/tickets.js +++ b/routes/tickets.js @@ -1113,7 +1113,7 @@ router.post('/:id/articles', async (req, res) => { } if (attachments && Array.isArray(attachments)) { - payload.Article.Attachment = attachments.map(att => ({ + payload.Attachment = attachments.map(att => ({ Content: att.content, ContentType: att.content_type || 'application/octet-stream', Filename: att.filename