Skip to content

Commit fbebed8

Browse files
committed
fix(tiny-erp): Fix uploading images when importing new products from Tiny
1 parent 1bde5aa commit fbebed8

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
@@ -288,7 +288,7 @@ export default (
288288
url = anexo.url;
289289
}
290290
if (typeof url === 'string' && url.startsWith('http')) {
291-
promises.push(tryImageUpload(anexo, product as Products)
291+
promises.push(tryImageUpload(url, product as Products)
292292
.then((picture) => {
293293
if (product && product.pictures) {
294294
product.pictures.push(picture);

0 commit comments

Comments
 (0)