iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

fix: missing message in attachment creation/update #89

Closed pmarchini closed 1 year ago

pmarchini commented 1 year ago

During usage of the --only-changed flag, I've noticed an unexpected behavior.
This flag is supposed to force the system to skip updating unchanged files by checking their checksum.
However, only with attachments , the flag appears to have no effect - attachments are updated regardless of their changed state.

I have implemented a fix for this issue following the guidelines provided in the Atlassian Confluence REST API documentation.

With this fix, the --only-changed flag should now function as expected, updating only the attachments that have undergone changes,