I am currently using the Front sdk updateDraft function in the updateMode: ‘replace’ when I run it with only the subject defined, all attachments on the draft get deleted.
await sdk.updateDraft(draftId as Parameters<FrontSdk['updateDraft']>[0], {
updateMode: 'replace',
subject: subject
});This is the current code I am using.
