fix: probelma con caricamento allegati nelle note. Il problema non era mai stato risolto da quando si è passati alle apiotrs

This commit is contained in:
2026-07-13 21:26:40 +02:00
parent 7020112e8a
commit a7fb2c22f0
+1 -1
View File
@@ -1113,7 +1113,7 @@ router.post('/:id/articles', async (req, res) => {
} }
if (attachments && Array.isArray(attachments)) { if (attachments && Array.isArray(attachments)) {
payload.Article.Attachment = attachments.map(att => ({ payload.Attachment = attachments.map(att => ({
Content: att.content, Content: att.content,
ContentType: att.content_type || 'application/octet-stream', ContentType: att.content_type || 'application/octet-stream',
Filename: att.filename Filename: att.filename