@devrev/ts-adaas 1.7.1-beta.1 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -632,9 +632,14 @@ class WorkerAdapter {
|
|
|
632
632
|
external: attachment.author_id,
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
|
-
|
|
635
|
+
// This will set inline flag in ssor_attachment only if it is explicity
|
|
636
|
+
// set in the attachment object.
|
|
637
|
+
if (attachment.inline === true) {
|
|
636
638
|
ssorAttachment.inline = true;
|
|
637
639
|
}
|
|
640
|
+
else if (attachment.inline === false) {
|
|
641
|
+
ssorAttachment.inline = false;
|
|
642
|
+
}
|
|
638
643
|
await ((_b = this.getRepo('ssor_attachment')) === null || _b === void 0 ? void 0 : _b.push([ssorAttachment]));
|
|
639
644
|
}
|
|
640
645
|
return;
|