This commit is contained in:
seb
2026-09-30 17:35:20 +02:00
parent 82cc138ba6
commit caacbe4968
9 changed files with 366 additions and 0 deletions

View File

@@ -38,6 +38,13 @@ function emitStockEvents(companyId, body, result) {
}
}
}
if (Array.isArray(result?.lines)) {
for (const line of result.lines) {
if (line?.sku) {
emit(`article-${line.sku}`, { companyId });
}
}
}
}
/**