Skip to content

Commit 9cdbb27

Browse files
committed
chore(tiny-erp): Limit up to 3 images on new product imports from Tiny
1 parent c7e3e09 commit 9cdbb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export default (
284284
product.pictures = [];
285285
}
286286
const promises: Promise<any>[] = [];
287-
tinyProduct.anexos.forEach((anexo) => {
287+
tinyProduct.anexos.slice(0, 3).forEach((anexo) => {
288288
let url;
289289
if (anexo && anexo.anexo) {
290290
url = anexo.anexo;

0 commit comments

Comments
 (0)